/* Global Styles */
:root {
    --primary-color: #2563eb;
    --secondary-color: #3b82f6;
    --dark-color: #1e293b;
    --light-color: #f1f5f9;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--dark-color);
}

/* Navbar Styles */
.navbar-glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 100%;
    overflow-x: visible;
}

.navbar-glass .navbar-brand {
    color: var(--primary-color);
}

.navbar-glass .nav-link {
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-glass .nav-link:hover {
    color: var(--primary-color);
}

.navbar-glass .navbar-toggler {
    border: 1px solid rgba(0,0,0,0.1);
    padding: 0.5rem;
    background: white;
}

.navbar-glass .navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 71, 161, 0.25);
}

.navbar-glass .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-scrolled {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: var(--transition);
    position: relative;
}

.navbar-light .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition);
}

.navbar-light .navbar-nav .nav-link:hover::after {
    transform: scaleX(1);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background-position: center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.7), rgba(0,0,0,0.4));
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Card Styles */
.card {
    border: none;
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}

.card-img-top {
    height: 240px;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

/* Counter Section */
.counter-item {
    padding: 2rem;
    text-align: center;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.counter-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.counter-item i {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Success Stories */
.owl-carousel .owl-item {
    padding: 1rem;
}

.success-stories .card {
    border-radius: 1rem;
}

/* Instagram Feed */
.instagram-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
}

.instagram-item img {
    aspect-ratio: 1;
    object-fit: cover;
    transition: var(--transition);
}

.instagram-item .overlay {
    background: linear-gradient(45deg, rgba(37,99,235,0.9), rgba(59,130,246,0.9));
    opacity: 0;
    transition: var(--transition);
}

.instagram-item:hover img {
    transform: scale(1.1);
}

.instagram-item:hover .overlay {
    opacity: 1;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

/* Footer Styles */
.footer {
    background-color: var(--dark-color);
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
    display: block;
    margin-bottom: 0.5rem;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-contact li {
    color: #94a3b8;
    margin-bottom: 1rem;
}

.social-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-links a:hover {
    color: white;
    transform: translateY(-3px);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* Animations */
[data-aos] {
    opacity: 0;
    transition-duration: 1s;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* Button Styles */
.btn {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
}

.btn-outline-light:hover {
    transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
    }

    .navbar-glass {
        background: white;
        padding-left: 1rem;
        padding-right: 1rem;
        width: 100%;
        overflow-x: hidden;
    }

    .navbar-glass .container {
        position: relative;
        padding: 0 15px;
        max-width: 100%;
    }

    .navbar-glass .navbar-toggler {
        position: relative;
        right: 0;
        z-index: 1050;
        border: 1px solid rgba(0,0,0,0.1);
    }

    .navbar-glass .navbar-collapse {
        background: white;
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

    .navbar-glass .navbar-nav {
        margin-top: 0;
    }

    .navbar-glass .nav-link {
        font-size: 1.2rem;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .card-img-top {
        height: 200px;
    }
}

/* Marmaris Media Slider */
.marmaris-slider {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.media-card {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.media-card img,
.media-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    transform: translateY(20%);
    opacity: 0;
    transition: var(--transition);
}

.swiper-slide:hover .media-overlay {
    transform: translateY(0);
    opacity: 1;
}

.media-overlay h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.media-overlay p {
    font-size: 1rem;
    margin: 0;
    opacity: 0.8;
}

/* Swiper Navigation Styles */
.swiper-button-next,
.swiper-button-prev {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    color: var(--primary-color);
    transition: var(--transition);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.5rem;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: white;
    transform: scale(1.1);
}

/* Swiper Pagination Styles */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.9);
    opacity: 0.5;
    transition: var(--transition);
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .media-overlay {
        transform: translateY(0);
        opacity: 1;
        padding: 1rem;
    }

    .media-overlay h4 {
        font-size: 1.2rem;
    }

    .media-overlay p {
        font-size: 0.9rem;
    }
}

/* Gallery Section */
.gallery-card {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.gallery-img,
.gallery-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-img,
.gallery-card:hover .gallery-video {
    transform: scale(1.05);
}

.gallery-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
        rgba(0,0,0,0.1) 0%,
        rgba(0,0,0,0.4) 30%,
        rgba(0,0,0,0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 2.5rem;
    opacity: 1;
    transition: all 0.4s ease;
}

.content-inner {
    text-align: left;
    color: white;
    transform: translateY(60px);
    transition: all 0.4s ease;
    width: 100%;
}

.gallery-card:hover .content-inner {
    transform: translateY(0);
}

.gallery-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    opacity: 1;
    line-height: 1.3;
}

.gallery-desc {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    max-width: 90%;
}

.gallery-card:hover .gallery-desc {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .gallery-card {
        height: 400px;
    }

    .gallery-content {
        padding: 1.5rem;
    }

    .gallery-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .gallery-desc {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        max-width: 100%;
    }
}

/* Service Cards - Same as Gallery Cards */
.service-card {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

.service-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
        rgba(0,0,0,0.1) 0%,
        rgba(0,0,0,0.4) 30%,
        rgba(0,0,0,0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 2.5rem;
    opacity: 1;
    transition: all 0.4s ease;
}

.service-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    opacity: 1;
    line-height: 1.3;
    color: white;
}

.service-desc {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    max-width: 90%;
    color: white;
}

.service-card:hover .service-desc {
    opacity: 1;
    transform: translateY(0);
}

.service-icon {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.service-icon i {
    color: white;
    font-size: 1.5rem;
}

.service-card:hover .service-icon {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .service-card {
        height: 400px;
    }

    .service-content {
        padding: 1.5rem;
    }

    .service-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .service-desc {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        max-width: 100%;
    }

    .service-icon {
        top: 1.5rem;
        right: 1.5rem;
        width: 40px;
        height: 40px;
    }

    .service-icon i {
        font-size: 1.2rem;
    }
}
