/* ===== CSS Variables ===== */
:root {
    --primary: #1B3654;
    --primary-light: #2C527A;
    --primary-dark: #0F2133;
    --secondary: #d4a574;
    --secondary-light: #e8c9a0;
    --accent: #1B3654;
    /* Changed from orange to primary blue */
    --dark: #1a1a1a;
    --light: #f5f5f0;
    --white: #ffffff;
    --gray-100: #f7f7f7;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-600: #666666;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --radius: 16px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    gap: 8px;
}

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

.btn-primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(45, 80, 22, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-cta {
    background: var(--white);
    color: var(--primary);
    font-size: 1.2rem;
    padding: 16px 40px;
    box-shadow: var(--shadow);
}

.btn-cta:hover {
    transform: scale(1.05);
    background: var(--gray-100);
}

/* ===== Typography & Utilities ===== */
.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--dark);
    margin-bottom: 16px;
}

.section-header.light h2 {
    color: var(--white);
}

.section-header p {
    color: var(--gray-600);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    padding: 12px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 75px;
    transition: var(--transition);
    filter: brightness(0) invert(1);
}

.navbar.scrolled .logo img,
.navbar.menu-open .logo img {
    height: 60px;
    filter: none;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links>li>a {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
}

.navbar.scrolled .nav-links>li>a {
    color: var(--dark);
}

.nav-links>li>a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links>li>a:hover::after {
    width: 100%;
}

/* Dropdown Menu */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--white);
    min-width: 220px;
    padding: 16px 0;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown li a {
    display: block;
    padding: 10px 24px;
    color: var(--dark);
    font-size: 0.9rem;
    transition: var(--transition);
}

.dropdown li a:hover {
    background: var(--gray-100);
    color: var(--primary);
    padding-left: 32px;
}

/* Nav Phone Button */
.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
}

.nav-phone:hover {
    background: #e85a28;
    transform: scale(1.05);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar.scrolled .mobile-menu-btn span {
    background: var(--dark);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Subpage heroes (shorter height) need padding for navbar */
.hero[style*="65vh"] {
    padding-top: 100px;
}

/* Hero background slider */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    /* Overlay for readability */
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    padding: 20px;
}

.hero-tag {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
    backdrop-filter: blur(5px);
}

.hero-content h1 {
    font-size: clamp(3rem, 7vw, 5rem);
    margin-bottom: 24px;
    text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    color: var(--white);
    opacity: 0.7;
    animation: bounce 2s infinite;
}

/* ===== About Section ===== */
.about {
    padding: 120px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    /* Explicit rows */
    align-items: stretch;
    row-gap: 0;
    /* Remove gap so row 1 ends exactly at content bottom */
    column-gap: 80px;
}

.about-text {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Prevent stretching of children like .section-tag */
    justify-content: flex-start;
    padding-bottom: 0;
    border-bottom: none;
    /* Rely on .about-stats border */
    margin-bottom: 0;
    /* Remove margin so grid cell height equals content height */
    width: 100%;
    /* Ensure container takes full width of grid cell */
}

.about-action {
    grid-column: 2;
    grid-row: 2;
    padding-top: 32px;
    /* Re-introduce spacing as padding to push button down from the line */
    margin-top: 0;
    display: flex;
    align-items: flex-start;
}

.about-image {
    position: relative;
    grid-column: 1;
    grid-row: 1;
    height: 100%;
    /* Ensure full height */
    display: flex;
    flex-direction: column;
}

.about-image .image-box {
    width: 100%;
    height: 100%;
    /* Fill the grid cell height */
    border-radius: var(--radius);
    overflow: hidden;
    object-fit: cover;
}

.image-box img {
    width: 100%;
    height: 100%;
    /* Fill the container */
    object-fit: cover;
    /* Cover mode to maintain aspect ratio */
    display: block;
}

.image-box {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

.image-placeholder {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, var(--gray-200), var(--gray-300));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
}

.image-placeholder span {
    font-size: 4rem;
    margin-bottom: 16px;
}

.image-placeholder.large {
    height: 100%;
    min-height: 400px;
}

.about-badge {
    position: absolute;
    bottom: 40px;
    right: -30px;
    background: var(--primary);
    color: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}

.badge-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
}

.badge-text {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
}

.badge-label {
    display: block;
    font-size: 0.8rem;
    margin-top: 8px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: var(--dark);
    margin-bottom: 24px;
}

.about-text .lead {
    font-size: 1.2rem;
    color: var(--primary-dark);
    font-weight: 500;
    margin-bottom: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 32px 0 40px;
    padding: 32px 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    width: 100%;
    /* Ensure borders span full width */
}

.stat-item {
    text-align: center;
}

.stat-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 12px;
}

.stat-info strong {
    display: block;
    font-size: 1rem;
    color: var(--dark);
}

.stat-info span {
    font-size: 0.85rem;
    color: var(--gray-600);
}

/* ===== Services Overview Section ===== */
.services-overview {
    padding: 100px 0;
    background: var(--gray-100);
}

.services-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.service-overview-card {
    flex: 0 0 calc(25% - 18px);
    /* 4 items per row: (100% - 3*24px gap) / 4 */
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    /* ensure consistent height if needed, or let content dictate */
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 900px) {
    .service-overview-card {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 600px) {
    .service-overview-card {
        flex: 0 0 calc(50% - 12px);
        /* 2 items per row on mobile */
    }
}

.service-overview-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

/* Services Page Specific Layout */
.services-cards.large .service-overview-card {
    flex: 0 0 calc(33.333% - 16px);
    /* 3 items per row */
}

/* Service Detail Pages - Related Services (3 items max per row) */
.alt-bg .services-cards .service-overview-card {
    flex: 0 0 calc(33.333% - 16px);
    /* 3 items per row */
}

@media (max-width: 900px) {
    .services-cards.large .service-overview-card {
        flex: 0 0 calc(50% - 12px);
        /* 2 items per row on tablet/mobile */
    }

    .alt-bg .services-cards .service-overview-card {
        flex: 0 0 calc(50% - 12px);
        /* 2 items per row on tablet/mobile */
    }
}

.service-overview-card .card-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.service-overview-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.service-overview-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 16px;
}

.card-arrow {
    display: inline-block;
    color: var(--primary);
    font-size: 1.2rem;
    transition: var(--transition);
}

.service-overview-card:hover .card-arrow {
    transform: translateX(5px);
}

/* ===== Detailed Service Sections ===== */
.service-detail {
    padding: 120px 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.service-detail.alt {
    background: var(--gray-100);
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.service-detail-content.reverse {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.service-detail-content.reverse .service-detail-text {
    direction: ltr;
}

.service-detail-text h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin-bottom: 20px;
    color: var(--dark);
}

.service-detail-text .lead {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 32px;
}

.service-features-list {
    margin-bottom: 32px;
}

.service-features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 1rem;
    color: var(--dark);
}

.service-features-list li .check {
    color: var(--primary);
    font-weight: 700;
}

.service-features-list li .x {
    color: #e63946;
    font-weight: 700;
}

.service-price-tag {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 32px;
    background: var(--primary-light);
    color: var(--white);
    padding: 16px 32px;
    border-radius: var(--radius);
    display: inline-flex;
}

.service-price-tag .price {
    font-size: 2rem;
    font-weight: 700;
}

.service-price-tag .period {
    opacity: 0.9;
}

/* ===== Features Section (Updated) ===== */
.features {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
}

.feature-box {
    flex: 0 0 calc(33.333% - 22px);
    /* (100% - 64px) / 3 approx */
    background: var(--white);

    padding: 24px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}

.feature-box .icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 12px;
}

.feature-box h4 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.feature-box p {
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* ===== Pricing Section ===== */
.pricing {
    padding: 60px 0;
    background: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 0;
}

.price-card {
    background: var(--gray-100);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.price-card.featured {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--accent);
    color: var(--white);
    padding: 8px 40px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.price-header h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.price {
    font-size: 3rem;
    font-weight: 700;
}

.price-period {
    font-size: 0.9rem;
    opacity: 0.7;
    display: block;
    margin-bottom: 24px;
}

.price-features li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.price-card.featured .price-features li {
    border-color: rgba(255, 255, 255, 0.2);
}

.price-card .btn-primary {
    width: 100%;
    margin-top: 24px;
}

.price-card.featured .btn-primary {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

/* ===== FAQ Section ===== */
.faq {
    padding: 120px 0;
    background: var(--gray-100);
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--gray-100);
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    padding: 0 24px 20px;
    max-height: 200px;
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="%232d5016"/></svg>');
    background-size: cover;
    background-attachment: fixed;
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* ===== Contact Section ===== */
.contact {
    padding: 120px 0;
    background: var(--white);
}

.contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info .section-tag {
    margin-bottom: 16px;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.contact-info p {
    color: var(--gray-600);
    margin-bottom: 32px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--dark);
}

.contact-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Contact Form */
.contact-form-container {
    background: var(--gray-100);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-form-container h3 {
    margin-bottom: 24px;
    color: var(--primary);
    font-size: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    /* Slightly rounded unlike big radius */
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

.contact-form .btn-primary {
    width: 100%;
    margin-top: 8px;
    border-radius: 8px;
    /* Match inputs */
}

/* Map */
.contact-map {
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    min-height: 400px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gray-200);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
}

.map-placeholder span {
    font-size: 3rem;
    margin-bottom: 16px;
}

/* Responsive for Contact */
@media (max-width: 1024px) {
    /* Main wrapper allows items to stack naturally */
}

@media (max-width: 900px) {
    .contact-top {
        grid-template-columns: 1fr;
    }

    .contact-map {
        height: 400px;
        /* Ensure height when stacked */
    }
}

/* ===== Testimonials Section ===== */
.testimonials {
    padding: 120px 0;
    background: var(--light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stars {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.comment {
    color: var(--gray-600);
    font-style: italic;
    margin-bottom: 24px;
    flex-grow: 1;
    font-size: 1.05rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid var(--gray-200);
    padding-top: 20px;
}

.user-avatar-img,
.user-avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-light);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.user-avatar-placeholder {
    background: linear-gradient(135deg, var(--gray-300), var(--gray-600));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.user-details h4 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 2px;
}

.user-details span {
    font-size: 0.85rem;
    color: var(--gray-600);
}

/* Responsive for Testimonials */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Footer (Camlik Style) ===== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 60px;
    filter: brightness(0) invert(1);
    margin-bottom: 24px;
}

.footer-brand p {
    color: var(--gray-300);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-btn {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--primary);
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: var(--white);
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    display: inline-block;
    color: var(--gray-300);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links-list a:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

.footer-contact-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--gray-300);
    font-size: 0.95rem;
}

.footer-contact-list a {
    color: inherit;
    transition: var(--transition);
    display: inline-block;
    /* Ensure padding animation works smoothly */
}

.footer-contact-list a:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

.footer-phone-btn {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    margin-top: 16px;
    font-size: 0.9rem;
}

.footer-phone-btn:hover {
    background: var(--primary-light);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    color: var(--gray-300);
    font-size: 0.9rem;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* font-size removed for SVG */
    color: var(--white);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
    fill: var(--white);
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* ===== Responsive Breakpoints ===== */
@media (max-width: 1024px) {

    .about-content,
    .service-detail-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-detail-content.reverse {
        direction: ltr;
    }

    .about-image {
        grid-column: 1;
        grid-row: 1;
        order: -1;
        height: 400px;
        /* Specific height for mobile */
    }

    .about-text {
        grid-column: 1;
        grid-row: 2;
        border-bottom: none;
        margin-bottom: 0;
    }

    .about-action {
        grid-column: 1;
        grid-row: 3;
        margin-top: 24px;
        width: 100%;
    }

    .about-action .btn {
        width: 100%;
        /* Full width button on mobile */
    }

    .service-detail-image {
        order: -1;
    }

    .services-cards,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        gap: 24px;
    }

    .features-grid .feature-box {
        flex: 0 0 calc(50% - 12px);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .services-cards {
        grid-template-columns: 1fr;
    }

    .features-grid .feature-box {
        flex: 0 0 100%;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .price-card.featured {
        transform: scale(1);
    }

    .nav-links,
    .nav-phone {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    /* Mobile menu open state */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        /* Ekrana sabitle */
        top: 90px;
        /* Navbar yüksekliği kadar boşluk */
        left: 0;
        width: 100%;
        height: calc(100vh - 90px);
        /* Kalan yükseklik */
        background: var(--white);
        padding: 0;
        overflow-y: auto;
        /* Kaydırma özelliği */
        z-index: 1000;
        border-top: 1px solid var(--gray-200);
    }

    .nav-links.active li {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid var(--gray-100);
    }

    .nav-links.active>li>a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 24px;
        font-size: 1.1rem;
        font-weight: 500;
        width: 100%;
        color: var(--dark);
    }

    /* Mobilde hover efektini kaldır, sadece active rengi kalsın */
    .nav-links.active>li>a:hover {
        background-color: var(--gray-100);
    }

    /* Mobilde active link altındaki çizgiyi kaldır */
    .nav-links.active>li>a::after {
        display: none;
    }

    .nav-links.active>li>a.active {
        color: var(--primary);
        /* Çizgi yerine rengi değiştir */
    }

    /* Menü açıldığında navbar arka planını beyaz yap */
    .navbar.menu-open {
        background: var(--white);
        box-shadow: var(--shadow);
    }

    /* Menü açıldığında logo ve buton renklerini ayarla */
    .navbar.menu-open .mobile-menu-btn span {
        background: var(--dark);
    }

    /* Menü açıldığında X butonu görünür olsun */
    .mobile-menu-btn.active span {
        background: var(--dark);
    }

    /* Dropdown Menü (Mobilde varsayılan kapalı) */
    .nav-links.active .dropdown {
        display: none;
        /* Varsayılan gizli */
        position: static;
        width: 100%;
        background: var(--gray-100);
        /* Alt menü olduğunu belli etmek için hafif gri */
        box-shadow: none;
        padding: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        border-radius: 0;
    }

    /* JS ile 'dropdown-active' classı eklenince açılacak */
    .has-dropdown.dropdown-active .dropdown {
        display: block;
        animation: slideDown 0.3s ease;
    }

    .nav-links.active .dropdown li a {
        padding: 14px 40px;
        /* Girintili */
        font-size: 0.95rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        color: var(--gray-600);
    }

    .nav-links.active .dropdown li:last-child a {
        border-bottom: none;
    }

    /* Dropdown oku */
    .has-dropdown>a::after {
        content: '+';
        font-size: 1.2rem;
        font-weight: 300;
        transition: transform 0.3s;
    }

    .has-dropdown.dropdown-active>a::after {
        transform: rotate(45deg);
        /* Artı çarpıya dönsün veya eksi olsun */
        content: '+';
        /* İsteğe göre '-' yapılabilir */
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        background: var(--dark);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
        background: var(--dark);
    }

    .footer-top {
        grid-template-columns: 1fr;
    }
}

/* ===== Page Header (for sub-pages) ===== */
.page-header {
    padding: 180px 0 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 16px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Service Detail Page ===== */
.service-detail-page {
    padding: 80px 0;
    background: var(--white);
}

.service-detail-page .service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-detail-page .service-detail-content.reverse {
    direction: rtl;
}

.service-detail-page .service-detail-content.reverse .service-detail-text {
    direction: ltr;
}

.service-detail-page .service-detail-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.service-detail-page .service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== Alt Background ===== */
.services-overview.alt-bg,
.alt-bg {
    background: var(--gray-100);
}

/* ===== Pricing Note ===== */
.pricing-note {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: var(--gray-100);
    border-radius: var(--radius);
}

.pricing-note p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.pricing-note.active {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('hero_nature_wide.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.pricing-note.active p {
    color: var(--white);
    font-weight: 500;
}

.pricing-note.active .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.pricing-note.active .btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

/* ===== Services Cards Large ===== */
.services-cards.large .service-overview-card {
    padding: 40px 32px;
}

.services-cards.large .service-overview-card p {
    min-height: 60px;
}

.services-cards.large .card-price {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 16px 0;
}

.services-cards.large .card-arrow {
    display: block;
    margin-top: 16px;
    font-size: 1rem;
    color: var(--primary);
}

/* ===== Active Nav State ===== */
.nav-links>li>a.active {
    color: var(--accent) !important;
}

.nav-links>li>a.active::after {
    width: 100%;
}

.dropdown li a.active {
    color: var(--primary);
    background: var(--gray-100);
}

/* ===== Responsive - Service Detail Page ===== */
@media (max-width: 992px) {
    .service-detail-page .service-detail-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-detail-page .service-detail-content.reverse {
        direction: ltr;
    }

    .service-detail-page .service-detail-image {
        order: -1;
    }

    .services-cards.large {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 140px 0 60px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .services-cards.large {
        grid-template-columns: 1fr;
    }
}

/* Instagram Button */
.social-btn.instagram {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(220, 39, 67, 0.3);
}

.social-btn.instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(220, 39, 67, 0.4);
    filter: brightness(1.1);
}

.social-btn.instagram svg {
    width: 20px;
    height: 20px;
    fill: white;
}

/* ===== Scroll Reveal Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered transition delays for lists/grids */
.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

/* Pre-hide elements that will be animated (prevents flash of content) */
section>.container>*,
.hero-content>*,
.service-overview-card,
.feature-box,
.price-card,
.about-text>*,
.about-image,
.service-detail-text>*,
.service-detail-image,
.contact-info,
.contact-form-container,
.cta-content>* {
    opacity: 0;
    transform: translateY(30px);
}

/* When active class is added, show them */
section>.container>*.active,
.hero-content>*.active,
.service-overview-card.active,
.feature-box.active,
.price-card.active,
.about-text>*.active,
.about-image.active,
.service-detail-text>*.active,
.service-detail-image.active,
.contact-info.active,
.contact-form-container.active,
.cta-content>*.active {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

/* ===== Lightbox ===== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content img,
.lightbox-content video {
    max-width: 100%;
    max-height: 90vh;
    display: block;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 2001;
    line-height: 1;
    background: transparent;
    border: none;
}

.gallery-item.video::before {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    pointer-events: none;
    z-index: 2;
    border: 2px solid white;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Split space evenly to keep text from touching image */
    gap: 80px;
    align-items: center;
}

/* Restrict service detail image size on desktop */
.service-detail-image {
    width: 400px;
    /* Increased to 400px */
    max-width: 100%;
    justify-self: end;
    /* Align to the left of the cell (closer to center) */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.service-detail-image img,
.service-detail-image video {
    width: 100%;
    height: auto;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    display: block;
    object-fit: contain;
}

/* Ensure it stays responsive */
@media (max-width: 900px) {
    .service-detail-content {
        grid-template-columns: 1fr;
        /* Stack vertically on mobile */
        gap: 40px;
    }

    .service-detail-image {
        width: 100%;
        /* Full width on mobile */
        max-width: 500px;
        /* Limit max size on mobile/tablet */
        justify-self: center;
        /* Center on mobile */
        margin: 0 auto;
    }
}