/* ============================================
   PAFTA PEYZAJ - LUXURY LANDSCAPE ARCHITECTURE
   Main Stylesheet
   ============================================ */

/* ----------------------------------------
   CSS VARIABLES - DESIGN SYSTEM
   ---------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=TikTok+Sans:opsz,wght@12..36,300..900&display=swap');

:root {
    /* Brand Colors */
    --deep-anthracite: #2D2D2D;
    --olive-bronze: #6B705C;
    --forest-green: #3A7D44;
    --sand-beige: #DDBEA9;
    --warm-champagne: #FFE8D6;
    --white: #FFFFFF;
    
    /* Functional Colors */
    --text-primary: #2D2D2D;
    --text-secondary: #6B705C;
    --text-light: #FFFFFF;
    --bg-primary: #FFFFFF;
    --bg-secondary: #FFE8D6;
    --bg-dark: #2D2D2D;
    --accent: #3A7D44;
    --border: #DDBEA9;
    
    /* Typography */
    --font-family: "TikTok Sans", sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Font Sizes */
    --h1-size: 56px;
    --h2-size: 36px;
    --h3-size: 24px;
    --h4-size: 20px;
    --body-size: 16px;
    --small-size: 14px;
    
    /* Spacing */
    --section-padding: 100px;
    --container-max: 1400px;
    --container-narrow: 1000px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s ease;
    --transition-slow: 0.6s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
}

/* ----------------------------------------
   RESET & BASE STYLES
   ---------------------------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: var(--body-size);
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

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

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

ul, ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ----------------------------------------
   TYPOGRAPHY
   ---------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: var(--h1-size);
    letter-spacing: -0.02em;
}

h2 {
    font-size: var(--h2-size);
    margin-bottom: 24px;
}

h3 {
    font-size: var(--h3-size);
    margin-bottom: 16px;
}

h4 {
    font-size: var(--h4-size);
    margin-bottom: 12px;
}

p {
    margin-bottom: 16px;
    color: var(--text-secondary);
}

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

.text-white {
    color: var(--text-light);
}

.text-white p {
    color: rgba(255,255,255,0.85);
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: var(--small-size);
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--olive-bronze);
    margin-bottom: 16px;
    display: block;
}

/* ----------------------------------------
   LAYOUT - CONTAINERS
   ---------------------------------------- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
}

.container-narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    padding: var(--section-padding) 0;
}

.section-light {
    background-color: var(--bg-primary);
}

.section-beige {
    background-color: var(--bg-secondary);
}

.section-dark {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.section-dark h2,
.section-dark h3 {
    color: var(--text-light);
}

/* ----------------------------------------
   HEADER & NAVIGATION
   ---------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.header-scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
}

.logo {
    display: flex;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    max-width: 200px;
}

.logo img {
    height: 90px;
    width: auto;
}

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

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

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--forest-green);
    transition: var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--forest-green);
}

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

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-toggle svg {
    width: 12px;
    height: 12px;
    transition: var(--transition-fast);
}

.nav-dropdown:hover .dropdown-toggle svg {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 12px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

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

.dropdown-menu a {
    display: block;
    padding: 10px 24px;
    font-size: 14px;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.dropdown-menu a:hover {
    background-color: var(--warm-champagne);
    color: var(--forest-green);
}

/* Language Switch */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}

.lang-btn {
    padding: 6px 12px;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.lang-btn:hover,
.lang-btn.active {
    background-color: var(--forest-green);
    color: var(--white);
}

.lang-divider {
    color: var(--sand-beige);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-fast);
}

/* ----------------------------------------
   HERO SECTION
   ---------------------------------------- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    height: 100%;
    width: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

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

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.35);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    max-width: 900px;
    padding: 0 40px;
}

.hero-title {
    font-family: var(--font-family);
    font-optical-sizing: auto;
    font-size: 60px;
    font-weight: 550;
    font-style: normal;
    font-variation-settings:
        "slnt" -6,
        "wdth" 100;
    letter-spacing: 0.03em;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.7), 0 0 20px rgba(0,0,0,0.4);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.hero-slide.active .hero-title {
    opacity: 1;
    transform: translateY(0);
}

.hero-description {
    font-size: 20px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
    text-shadow: 3px 3px 8px rgba(0,0,0,0.8), 0 0 25px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease 0.5s, transform 0.8s ease 0.5s;
}

.hero-slide.active .hero-description {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Slider Controls */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.hero-nav:hover {
    background-color: rgba(255,255,255,0.4);
}

.hero-nav svg {
    width: 20px;
    height: 20px;
    stroke: var(--white);
}

.hero-nav-prev {
    left: 40px;
}

.hero-nav-next {
    right: 40px;
}

.hero-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition-fast);
}

.hero-dot.active {
    background-color: var(--white);
    transform: scale(1.2);
}

.hero-dot:hover {
    background-color: rgba(255,255,255,0.7);
}

/* ----------------------------------------
   BUTTONS
   ---------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 4px;
    transition: var(--transition-normal);
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: #2d6335;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

.btn-dark {
    background-color: var(--deep-anthracite);
    color: var(--white);
}

.btn-dark:hover {
    background-color: #1a1a1a;
    transform: translateY(-2px);
}

/* ----------------------------------------
   INTRO SECTION
   ---------------------------------------- */
.intro-section {
    padding: 120px 0;
    text-align: center;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
}

.intro-title {
    font-size: 42px;
    margin-bottom: 32px;
}

.intro-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* ----------------------------------------
   SERVICES SECTION
   ---------------------------------------- */
.services-section {
    padding: 100px 0;
}

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

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

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

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

.service-image {
    height: 240px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.service-content {
    padding: 30px;
}

.service-content h3 {
    margin-bottom: 12px;
}

.service-content p {
    margin-bottom: 20px;
    font-size: 15px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--forest-green);
    transition: var(--transition-fast);
}

.service-link svg {
    width: 16px;
    height: 16px;
    transition: var(--transition-fast);
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* ----------------------------------------
   PROJECTS GALLERY
   ---------------------------------------- */
.projects-section {
    padding: 100px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.project-item {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.project-item:hover img {
    transform: scale(1.08);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    opacity: 0;
    transition: var(--transition-normal);
}

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

.project-title {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 4px;
}

.project-category {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

/* ----------------------------------------
   WHY CHOOSE US
   ---------------------------------------- */
.why-us-section {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 24px;
    background-color: var(--warm-champagne);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--forest-green);
}

.feature-item h4 {
    margin-bottom: 12px;
}

.feature-item p {
    font-size: 15px;
    line-height: 1.6;
}

/* ----------------------------------------
   CTA SECTION
   ---------------------------------------- */
.cta-section {
    padding: 120px 0;
    background-color: var(--deep-anthracite);
    text-align: center;
}

.cta-title {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-text {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ----------------------------------------
   FOOTER
   ---------------------------------------- */
.footer {
    background-color: var(--deep-anthracite);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand img {
    height: 125px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    line-height: 1.7;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--sand-beige);
    padding-left: 4px;
}

.footer-contact p {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    stroke: var(--sand-beige);
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background-color: var(--forest-green);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    stroke: var(--white);
}

/* ----------------------------------------
   ABOUT PAGE
   ---------------------------------------- */
.page-header {
    position: relative;
    height: 570px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.page-header-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 40px;
    transform: translateY(20%);
}

.page-header-title {
    font-family: var(--font-family);
    font-size: 72px;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 16px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5), 0 0 20px rgba(0,0,0,0.3);
}

.page-header-subtitle {
    font-size: 24px;
    color: rgba(255,255,255,0.8);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4), 0 0 15px rgba(0,0,0,0.2);
}

.about-content {
    padding: 100px 0;
}

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

.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image:first-child {
    grid-row: span 2;
}

.about-text h2 {
    margin-bottom: 24px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

/* Mission & Vision */
.mission-vision-section {
    padding: 100px 0;
    background-color: var(--warm-champagne);
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.mv-card {
    background-color: var(--white);
    padding: 50px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.mv-card h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
    text-align: center;
    font-size: calc(var(--h3-size) * 1.15);
    font-weight: 900;
}

.mv-card h3 svg {
    width: 32px;
    height: 32px;
    stroke: var(--forest-green);
}

.mv-card p {
    font-size: 16px;
    line-height: 1.8;
}

/* ----------------------------------------
   SERVICES PAGES
   ---------------------------------------- */
.service-detail-section {
    padding: 100px 0;
}

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

.service-detail-grid.reverse {
    direction: rtl;
}

.service-detail-grid.reverse > * {
    direction: ltr;
}

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

.service-detail-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.service-detail-content h2 {
    margin-bottom: 24px;
}

.service-detail-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-features-list {
    margin-top: 30px;
}

.service-features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.service-features-list li svg {
    width: 20px;
    height: 20px;
    stroke: var(--forest-green);
    flex-shrink: 0;
}

/* Service Gallery */
.service-gallery {
    padding: 80px 0;
}

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

.gallery-item {
    aspect-ratio: 4/3;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

/* ----------------------------------------
   CONTACT PAGE
   ---------------------------------------- */
.contact-section {
    padding: 100px 0;
}

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

.contact-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.contact-card h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--warm-champagne);
}

.contact-card h3 svg {
    width: 24px;
    height: 24px;
    stroke: var(--forest-green);
}

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

.contact-info-item svg {
    width: 20px;
    height: 20px;
    stroke: var(--olive-bronze);
    flex-shrink: 0;
    margin-top: 4px;
}

.contact-info-item strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.contact-info-item span,
.contact-info-item a {
    color: var(--text-secondary);
    font-size: 15px;
}

.contact-info-item a:hover {
    color: var(--forest-green);
}

.contact-map {
    height: 400px;
    background-color: var(--warm-champagne);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.contact-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-placeholder {
    text-align: center;
    color: var(--olive-bronze);
}

.map-placeholder svg {
    width: 48px;
    height: 48px;
    stroke: var(--olive-bronze);
    margin-bottom: 16px;
}

/* ----------------------------------------
   ANIMATIONS
   ---------------------------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ----------------------------------------
   RESPONSIVE DESIGN
   ---------------------------------------- */
@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    :root {
        --h1-size: 42px;
        --h2-size: 32px;
        --section-padding: 80px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-grid,
    .mv-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .service-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item:first-child {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    :root {
        --h1-size: 36px;
        --h2-size: 28px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .header-inner {
        padding: 0 20px;
        height: 70px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-nav {
        display: none;
    }
    
    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-images {
        grid-template-columns: 1fr;
    }
    
    .about-image:first-child {
        grid-row: span 1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item:first-child {
        grid-column: span 1;
    }
    
    .cta-title {
        font-size: 32px;
    }
    
    .page-header {
        height: 350px;
    }
    
    .page-header-title {
        font-size: 42px;
    }
    
    .mv-card {
        padding: 30px;
    }
}

/* ----------------------------------------
   MOBILE MENU
   ---------------------------------------- */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--white);
    z-index: 2000;
    padding: 100px 30px 30px;
    transition: right 0.4s ease;
    box-shadow: var(--shadow-lg);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-close svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-primary);
}

.mobile-nav-link {
    display: block;
    padding: 16px 0;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
}

.mobile-nav-link:hover {
    color: var(--forest-green);
}

.mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-dropdown-menu {
    padding-left: 20px;
    display: none;
}

.mobile-dropdown-menu.active {
    display: block;
}

.mobile-dropdown-menu a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    color: var(--text-secondary);
}

/* ----------------------------------------
   UTILITY CLASSES
   ---------------------------------------- */
.hidden {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
