﻿/* CSS Variables for Theme */
:root {
    --primary-color: #2d7a46;
    --primary-dark: #1a5c32;
    --secondary-color: #8c9c3c;
    --accent-gold: #8c9c3c;
    --accent-gold-dark: #6a7828;
    --text-dark: #1a3326;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --bg-dark: #0f2d1c;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --radius-sm: 5px;
    --radius-md: 10px;
    --radius-lg: 15px;
    --radius-full: 50%;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --dark-bg-primary: #1a1a2e;
    --dark-bg-secondary: #16213e;
    --dark-text: #eee;
    --dark-text-muted: #a0a0a0;
}

body.dark-mode {
    --bg-light: var(--dark-bg-primary);
    --bg-white: var(--dark-bg-secondary);
    --bg-dark: #0f0f1e;
    --text-dark: var(--dark-text);
    --text-light: var(--dark-text-muted);
    --glass-bg: rgba(0, 0, 0, 0.3);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
    overflow-x: hidden;
    transition: background var(--transition-normal), color var(--transition-normal);
}

section {
    scroll-margin-top: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header with Glassmorphism */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all var(--transition-normal);
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: auto;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

body.dark-mode .header {
    background: rgba(26, 26, 46, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: var(--scroll-width, 0%);
    height: 3px;
    background: linear-gradient(90deg, #1a5c32, #2d7a46, #8c9c3c);
    transition: width 0.1s ease;
    box-shadow: 0 2px 4px rgba(45, 122, 70, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem 1rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.language-switcher {
    display: flex;
    gap: 8px;
    margin-left: 20px;
    align-items: center;
}

.theme-toggle {
    background: none;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 4px;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    position: relative;
}

.theme-toggle:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.theme-toggle .sun-icon,
.theme-toggle .moon-icon {
    position: absolute;
    transition: all var(--transition-normal);
}

.theme-toggle .sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.theme-toggle .moon-icon {
    opacity: 0;
    transform: rotate(180deg) scale(0);
}

body.dark-mode .theme-toggle .sun-icon {
    opacity: 0;
    transform: rotate(180deg) scale(0);
}

body.dark-mode .theme-toggle .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.lang-btn {
    background: none;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    padding: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 24px;
}

.lang-btn:hover {
    border-color: #2d7a46;
    transform: scale(1.05);
}

.lang-btn.active {
    border-color: #2d7a46;
    background-color: rgba(45, 122, 70, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo-link:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

.logo-image {
    height: 65px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color var(--transition-normal);
    position: relative;
    padding: 0.5rem 0;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #2d7a46;
    transition: width var(--transition-normal);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    height: 100%;
    padding: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* ENHANCED HERO SECTION WITH MODERN ANIMATIONS */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                url('../images/hero-bg.jpg') center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    will-change: opacity, transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Parallax effect container */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    transform: translateZ(-1px) scale(2);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 0 20px;
}

/* Typewriter effect for main title */
.hero-content h1 {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInScale 1s ease 0.3s forwards;
    letter-spacing: 3px;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5);
    }

.hero-content h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.7s forwards;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
}

.hero-content p {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0;
    animation: fadeInUp 1s ease 1s forwards;
    margin-bottom: 3rem;
    font-style: italic;
}

/* Hero CTA Buttons */
.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease 1.3s forwards;
}

.hero-btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    display: inline-block;
    letter-spacing: 1px;
}

.hero-btn-primary {
    background: #2d7a46;
    color: white;
    box-shadow: 0 8px 25px rgba(45, 122, 70, 0.5);
}

.hero-btn-primary:hover {
    background: #1a5c32;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(45, 122, 70, 0.7);
}

.hero-btn-secondary {
    background: #8c9c3c;
    color: white;
    border: none;
    box-shadow: 0 8px 25px rgba(140, 156, 60, 0.4);
}

.hero-btn-secondary:hover {
    background: #6a7828;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(140, 156, 60, 0.6);
}


/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeIn 1s ease 1.8s forwards, bounce 2s ease-in-out 2.8s infinite;
    cursor: pointer;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scroll 2s ease-in-out infinite;
}

/* Gallery Sections */
.gallery-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
    transition: background var(--transition-normal);
}

.gallery-section:nth-child(even) {
    background: var(--bg-white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    display: block;
    width: 100%;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-gold));
    border-radius: 2px;
    transition: width 0.4s ease;
}

.section-title.animate::after {
    width: 120px;
}

.section-title.animate {
    animation: fadeInUp 0.8s ease forwards;
}

/* Gallery Filters */
.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: var(--spacing-lg);
    padding: 0 1rem;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(45, 122, 70, 0.2);
    color: var(--text-dark);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all var(--transition-normal);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 122, 70, 0.2);
    border-color: var(--primary-color);
}

.filter-btn.active {
    background: #2d7a46;
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(45, 122, 70, 0.4);
}

body.dark-mode .filter-btn {
    background: rgba(0, 0, 0, 0.3);
    color: var(--dark-text);
    border-color: rgba(45, 122, 70, 0.3);
}

body.dark-mode .filter-btn.active {
    background: #2d7a46;
    color: white;
}

/* MASONRY GRID LAYOUT */
.gallery {
    column-count: 3;
    column-gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    cursor: pointer;
    opacity: 0;
    break-inside: avoid;
    display: inline-block;
    width: 100%;
    display: inline-block;
    width: 100%;
    margin-bottom: 15px;
    border-radius: var(--radius-md);
    background: var(--bg-white);
}

.gallery-item.hide {
    display: none;
}

.gallery-item.animate {
    animation: fadeInUp 0.6s ease forwards;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(45, 122, 70, 0.15) 0%, 
        rgba(140, 156, 60, 0.15) 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}


.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, 
        rgba(0, 0, 0, 0.9) 0%, 
        rgba(0, 0, 0, 0.5) 60%, 
        transparent 100%);
    color: white;
    padding: 1.5rem 1rem;
    transform: translateY(100%);
    transition: transform var(--transition-normal);
}

.gallery-item:hover .overlay {
    transform: translateY(0);
}

.overlay h3 {
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* About Section */
.about-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(160deg, #1a5c32 0%, #0f2d1c 50%, #1a4a28 100%);
    color: white;
}

.about-section *:not(h3) {
    color: rgba(255, 255, 255, 0.88);
}

.about-section h3 {
    color: var(--accent-gold);
}

body.dark-mode .about-section {
    background: var(--dark-bg-primary);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
    opacity: 0;
    transform: translateY(30px);
}

.about-content.animate {
    animation: fadeInUp 0.8s ease forwards;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.05);
}

.about-text h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--accent-gold);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.88);
}

.passion p {
    font-style: italic;
    border-left: 3px solid var(--accent-gold);
    padding-left: 1.5rem;
    margin-bottom: 0;
    font-size: 1.05rem;
}

/* Contact Section */
.contact-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
}

body.dark-mode .contact-section {
    background: var(--dark-bg-secondary);
}

.contact-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid rgba(45, 122, 70, 0.1);
}

body.dark-mode .contact-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-color: rgba(45, 122, 70, 0.2);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(45, 122, 70, 0.2);
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    padding: 15px;
    background: #2d7a46;
    border-radius: var(--radius-full);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.contact-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-card a:hover {
    text-decoration: underline;
}

.services-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.service-item {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid #2d7a46;
    transition: transform var(--transition-normal);
}

body.dark-mode .service-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.service-item:hover {
    transform: translateY(-2px);
}

.cta-section {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.cta-section .cta-button {
    margin: 0.5rem;
}

body.dark-mode .cta-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.cta-button {
    display: inline-block;
    background: #2d7a46;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(45, 122, 70, 0.3);
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 122, 70, 0.4);
}

.cta-button-shop {
    background: #3c8c5a !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(60, 140, 90, 0.4) !important;
}

.cta-button-shop:hover {
    background: #2d7a46 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(60, 140, 90, 0.6) !important;
}

/* Social Media Section */
.social-section {
    text-align: center;
    padding: var(--spacing-lg) 0;
    margin: var(--spacing-lg) 0;
    border-top: 1px solid rgba(45, 122, 70, 0.2);
    border-bottom: 1px solid rgba(45, 122, 70, 0.2);
}

.social-section h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.social-section p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-dark);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
    min-width: 120px;
}

body.dark-mode .social-link {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-color);
}

.social-link svg {
    transition: transform var(--transition-normal);
}

.social-link:hover svg {
    transform: scale(1.1);
}

.social-link span {
    font-weight: 500;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0f2d1c 0%, #1a5c32 50%, #4a6e28 100%);
    color: white;
    text-align: center;
    padding: var(--spacing-md) 0;
}

body.dark-mode .footer {
    background: var(--dark-bg-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: white;
    transition: all var(--transition-normal);
}


.footer-social svg {
    width: 20px;
    height: 20px;
}

/* Back to Top Button - Elegant Design */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #2d7a46, #8c9c3c);
    color: white;
    border: none;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(45, 122, 70, 0.3);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.back-to-top::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #2d7a46, #8c9c3c);
    border-radius: var(--radius-full);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    filter: blur(8px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(45, 122, 70, 0.5);
}

.back-to-top:hover::before {
    opacity: 0.7;
}

.back-to-top:active {
    transform: translateY(-2px) scale(1);
}

/* Arrow icon inside button */
.back-to-top::after {
    content: '';
    width: 14px;
    height: 14px;
    border-top: 3px solid white;
    border-right: 3px solid white;
    transform: rotate(-45deg);
    margin-top: 4px;
}

body.dark-mode .back-to-top {
    background: linear-gradient(135deg, rgba(45, 122, 70, 0.9), rgba(140, 156, 60, 0.9));
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 25px rgba(45, 122, 70, 0.4);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.lightbox.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 60px 20px 65px;
}

.lightbox-image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 90%;
    max-height: calc(100vh - 240px);
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

.close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2002;
}

.close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.close::before,
.close::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: white;
}

.close::before {
    transform: rotate(45deg);
}

.close::after {
    transform: rotate(-45deg);
}

.lightbox-prev, .lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
    transition: all var(--transition-normal);
    border-radius: var(--radius-md);
    z-index: 2002;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-caption {
    position: fixed;
    bottom: 145px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    padding: 8px 18px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    max-width: min(560px, calc(100vw - 80px));
    width: max-content;
    z-index: 2099;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    font-size: 0.85rem;
    line-height: 1.5;
    white-space: normal;
}

.lightbox-caption.visible {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-info-btn {
    position: fixed;
    bottom: 145px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255,255,255,0.35);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2100;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.lightbox-info-btn:hover,
.lightbox-info-btn.active {
    background: rgba(140, 156, 60, 0.75);
    border-color: rgba(140, 156, 60, 0.9);
}

.lightbox-thumbnails {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 140px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.6));
    backdrop-filter: blur(20px);
    padding: 20px;
    overflow-x: auto;
    z-index: 2001;
    display: flex;
    gap: 10px;
    align-items: center;
}

.lightbox-thumbnail {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all var(--transition-normal);
    opacity: 0.6;
}

.lightbox-thumbnail:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

.lightbox-thumbnail.active {
    border-color: var(--primary-color);
    opacity: 1;
    box-shadow: 0 0 20px rgba(45, 122, 70, 0.5);
}

.lightbox-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lightbox-counter {
    position: fixed;
    top: 20px;
    left: 20px;
    color: white;
    font-size: 14px;
    opacity: 0.9;
    z-index: 2002;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 15px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

@keyframes scroll {
    0% {
        opacity: 0;
        top: 10px;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        top: 30px;
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Stagger delays */
.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.15s; }
.gallery-item:nth-child(3) { animation-delay: 0.2s; }
.gallery-item:nth-child(4) { animation-delay: 0.25s; }
.gallery-item:nth-child(5) { animation-delay: 0.3s; }
.gallery-item:nth-child(6) { animation-delay: 0.35s; }
.gallery-item:nth-child(7) { animation-delay: 0.4s; }
.gallery-item:nth-child(8) { animation-delay: 0.45s; }
.gallery-item:nth-child(9) { animation-delay: 0.5s; }
.gallery-item:nth-child(10) { animation-delay: 0.55s; }

/* Responsive Design */
@media (max-width: 1024px) {
    .gallery {
        column-count: 2;
        column-gap: 12px;
    }
    
    .gallery-item {
        margin-bottom: 12px;
    }
}

@media (max-width: 768px) {
    section {
        scroll-margin-top: 70px;
    }
    
    /* Mobile Header Fix - Always stay at top */
    .header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        transform: translate3d(0, 0, 0) !important;
        -webkit-transform: translate3d(0, 0, 0) !important;
    }
    
    /* Prevent iOS Safari header bounce and optimize scrolling */
    body {
        position: relative;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Mobile performance optimizations */
    .hero {
        will-change: auto;
        background-attachment: scroll;
    }
    
    .hero-content {
        will-change: opacity;
    }
    
    .gallery-item {
        will-change: auto;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
        letter-spacing: 4px;
        margin-bottom: 1.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-btn {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
    
    .gallery {
        column-count: 2;
        column-gap: 8px;
    }
    
    .gallery-item {
        margin-bottom: 8px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        z-index: 999;
        height: calc(100vh - 70px);
        overflow-y: auto;
    }

    body.dark-mode .nav-menu {
        background: rgba(22, 33, 62, 0.98);
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.4);
    }

    body.dark-mode .nav-link {
        color: var(--dark-text) !important;
    }

    body.dark-mode .nav-link:hover {
        color: var(--primary-color) !important;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .logo-image {
        height: 52px;
        max-width: 195px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .lightbox-prev, .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-thumbnails {
        height: 100px;
        padding: 10px;
    }
    
    .lightbox-thumbnail {
        width: 70px;
        height: 70px;
    }
    
    .lightbox-caption {
        bottom: 110px;
        font-size: 0.9rem;
        max-width: 90%;
    }
    
    /* Mobile social media optimizations */
    .social-links {
        gap: 1rem;
    }
    
    .social-link {
        padding: 1rem;
        min-width: 100px;
    }
    
    .social-section h3 {
        font-size: 1.5rem;
    }
    
    .social-section p {
        font-size: 1rem;
    }
    
    .footer-social {
        gap: 1rem;
    }
    
    .footer-social a {
        width: 35px;
        height: 35px;
    }
    
    /* Back to top button mobile */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .back-to-top::after {
        width: 12px;
        height: 12px;
        border-width: 2.5px;
    }
}

@media (max-width: 480px) {
    .gallery {
        column-count: 2;
        column-gap: 6px;
    }
    
    .gallery-item {
        margin-bottom: 6px;
        border-radius: 4px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }
}
/* ===== TREND #1: MICRO-INTERACTIONS & SCROLL ANIMATIONS 2025 ===== */

/* Staggered reveal for contact cards */
.contact-card,
.service-item,
.social-link {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow var(--transition-normal);
}

.contact-card.animate,
.service-item.animate,
.social-link.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for grid items */
.contact-card:nth-child(1), .service-item:nth-child(1), .social-link:nth-child(1) { transition-delay: 0.05s; }
.contact-card:nth-child(2), .service-item:nth-child(2), .social-link:nth-child(2) { transition-delay: 0.12s; }
.contact-card:nth-child(3), .service-item:nth-child(3), .social-link:nth-child(3) { transition-delay: 0.19s; }
.contact-card:nth-child(4), .social-link:nth-child(4) { transition-delay: 0.26s; }
.social-link:nth-child(5) { transition-delay: 0.33s; }

/* Gold shimmer effect on contact icon hover */

.contact-card:hover .contact-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-gold));
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(140, 156, 60, 0.4);
}

/* Service item: gold left border glow on hover */

/* CTA section reveal */

.cta-section.animate {
    opacity: 1;
    transform: translateY(0);
}



/* Gallery item: subtle gold shimmer on hover */
.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(140, 156, 60, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 2;
    border-radius: var(--radius-md);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Hero buttons: gold shimmer on shop button */
.hero-btn-shop {
    background: linear-gradient(135deg, #2d7a46, var(--accent-gold)) !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 8px 25px rgba(140, 156, 60, 0.35) !important;
}

.hero-btn-shop:hover {
    background: linear-gradient(135deg, #1a5c32, var(--accent-gold-dark)) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 35px rgba(140, 156, 60, 0.55) !important;
}

/* Nav link: gold active underline */
.nav-link.active::after,
.nav-link:hover::after {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-gold));
}

/* Footer social: gold hover */
.footer-social a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-gold));
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(45, 122, 70, 0.4);
}
/* ===== NAVBAR: Kontakt & Kundengalerie optisch abgrenzen ===== */

/* Trennlinie vor "Contact" (nur Desktop) */
li:has(> a[href="#contact"]),
li:has(> a[href="index.html#contact"]) {
    border-left: 1px solid rgba(45, 122, 70, 0.3);
    padding-left: 2rem;
    margin-left: 0.5rem;
}

body.dark-mode li:has(> a[href="#contact"]),
body.dark-mode li:has(> a[href="index.html#contact"]) {
    border-left-color: rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
    li:has(> a[href="#contact"]),
    li:has(> a[href="index.html#contact"]) {
        border-left: none;
        padding-left: 0;
        margin-left: 0;
        border-top: none;
        padding-top: 0;
        margin-top: 0;
    }
}