/* 
==============================================
Taman Bambu Air - Main Stylesheet
==============================================
*/

/* ===== VARIABLES ===== */
:root {
    /* Colors - Enhanced palette */
    --primary-color: #4CAF50;     /* Brighter Green */
    --primary-light: #81C784;     /* Lighter Green */
    --primary-dark: #43A047;      /* Less Dark Green */
    --secondary-color: #2196F3;   /* Brighter Blue */
    --secondary-light: #64B5F6;   /* Lighter Blue */
    --accent-color: #FF9800;      /* Orange */
    --accent-light: #FFB74D;      /* Light Orange */
    --dark-color: #212121;        /* Near Black */
    --dark-gray: #424242;         /* Dark Gray */
    --medium-gray: #757575;       /* Medium Gray */
    --light-gray: #E0E0E0;        /* Light Gray */
    --light-color: #FAFAFA;       /* Lighter Off White */
    --white-color: #FFFFFF;       /* White */
    --earth-color: #8D6E63;       /* Lighter Brown */
    --earth-light: #BCAAA4;       /* Even Lighter Brown */
    --success-color: #4CAF50;     /* Green */
    --warning-color: #FFC107;     /* Amber */
    --danger-color: #F44336;      /* Red */
    
    /* Typography */
    --body-font: 'Poppins', sans-serif;
    --heading-font: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;   /* Increased spacing */
    --container-padding: 0 15px;
    
    /* Shadows - Enhanced depth */
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --btn-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    --hover-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    
    /* Border Radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    
    /* Transitions */
    --transition-fast: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-normal: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    /* Gradients */
    --primary-gradient: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    --accent-gradient: linear-gradient(135deg, var(--accent-color) 0%, #FF5722 100%);
    --dark-gradient: linear-gradient(135deg, var(--dark-color) 0%, var(--dark-gray) 100%);
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --primary-color: #81C784;     /* Lighter Green */
    --primary-light: #A5D6A7;     /* Even Lighter Green */
    --primary-dark: #66BB6A;      /* Less Dark Green */
    --secondary-color: #64B5F6;   /* Lighter Sky Blue */
    --secondary-light: #90CAF9;   /* Even Lighter Blue */
    --accent-color: #FFB74D;      /* Lighter Orange */
    --accent-light: #FFCC80;      /* Even Lighter Orange */
    --dark-color: #FAFAFA;        /* Near White (text) */
    --dark-gray: #F5F5F5;         /* Lighter Gray for dark mode */
    --medium-gray: #E0E0E0;       /* Medium Gray for dark mode */
    --light-gray: #9E9E9E;        /* Darker Gray for dark mode */
    --light-color: #1E1E1E;       /* Dark Gray (background) */
    --white-color: #2C2C2C;       /* Dark Gray (card background) */
    --earth-color: #BCAAA4;       /* Lighter Brown */
    --earth-light: #D7CCC8;       /* Even Lighter Brown */
    
    /* Additional Dark Mode Variables */
    --body-bg: #1E1E1E;
    --card-bg: #2C2C2C;
    --border-color: #616161;
    --text-muted: #BDBDBD;
    
    /* Dark Mode Gradients */
    --primary-gradient: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    --accent-gradient: linear-gradient(135deg, var(--accent-color) 0%, #FFB74D 100%);
    --dark-gradient: linear-gradient(135deg, #2C2C2C 0%, #1E1E1E 100%);
}

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

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

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
    transition: background-color var(--transition-normal);
}

ul {
    list-style: none;
}

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

a:hover {
    color: var(--primary-color);
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

/* ===== LAYOUT ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

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

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.preloader img {
    width: 80px;
    height: 80px;
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    50% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px 0;
    z-index: 1000;
    transition: all var(--transition-normal);
    border-bottom: 1px solid rgba(76, 175, 80, 0.1);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 1);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.1);
    border-bottom: 1px solid rgba(76, 175, 80, 0.15);
}

[data-theme="dark"] .navbar {
    background-color: rgba(44, 44, 44, 0.95);
    border-bottom: 1px solid rgba(129, 199, 132, 0.2);
}

[data-theme="dark"] .navbar.scrolled {
    background-color: rgba(44, 44, 44, 1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(129, 199, 132, 0.25);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-control-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
.logo {
    display: flex;
    align-items: center;
    transition: transform var(--transition-fast);
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 75px;
}

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

.nav-menu li {
    margin: 0 18px;
    position: relative;
}

.nav-link {
    position: relative;
    font-weight: 700;
    padding: 8px 0;
    font-size: 1.15rem;
    letter-spacing: 0.3px;
    color: var(--dark-color);
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--primary-gradient);
    transition: width var(--transition-fast);
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(76, 175, 80, 0.4);
}

.nav-link:hover {
    color: var(--primary-dark);
    transform: translateY(-2px);
}

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

.nav-link.active {
    color: var(--primary-dark);
    font-weight: 800;
}

[data-theme="dark"] .nav-link {
    color: #FFFFFF;
    font-weight: 700;
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
    color: var(--primary-light);
    text-shadow: 0 0 8px rgba(165, 214, 167, 0.5);
    font-weight: 800;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    margin-left: 15px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition-fast);
    border-radius: 2px;
}

[data-theme="dark"] .nav-toggle span {
    background-color: var(--primary-light);
    box-shadow: 0 0 4px rgba(165, 214, 167, 0.5);
}

.dark-mode-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(76, 175, 80, 0.15);
    border: 2px solid rgba(76, 175, 80, 0.3);
    cursor: pointer;
    margin-left: 10px;
    transition: all var(--transition-fast);
    color: var(--primary-dark);
    box-shadow: 0 2px 6px rgba(76, 175, 80, 0.2);
}

.dark-mode-toggle:hover {
    background-color: rgba(76, 175, 80, 0.25);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
    border-color: rgba(76, 175, 80, 0.5);
}

.dark-mode-toggle .fa-sun {
    display: none;
}

[data-theme="dark"] .dark-mode-toggle {
    background-color: rgba(165, 214, 167, 0.25);
    border: 2px solid rgba(165, 214, 167, 0.4);
    color: var(--primary-light);
    box-shadow: 0 2px 8px rgba(165, 214, 167, 0.3);
}

[data-theme="dark"] .dark-mode-toggle:hover {
    background-color: rgba(165, 214, 167, 0.35);
    box-shadow: 0 4px 12px rgba(165, 214, 167, 0.5);
    transform: scale(1.1) rotate(-5deg);
    border-color: rgba(165, 214, 167, 0.6);
}

[data-theme="dark"] .dark-mode-toggle .fa-moon {
    display: none;
}

[data-theme="dark"] .dark-mode-toggle .fa-sun {
    display: block;
    color: var(--primary-light);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background-image: url('../assets/hero-bg.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
    padding: 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}

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

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 0 20px;
    animation: fadeInUp 1.2s ease-out;
}

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

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.6rem;
    margin-bottom: 2.5rem;
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    font-size: 1.05rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    z-index: -1;
    transform: translateY(100%);
    transition: transform var(--transition-fast);
}

.btn:hover::before {
    transform: translateY(0);
}

.btn i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white-color);
    box-shadow: var(--btn-shadow);
}

.btn-primary:hover {
    box-shadow: var(--hover-shadow);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--white-color);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-3px);
    box-shadow: var(--hover-shadow);
}

.btn-accent {
    background: var(--accent-gradient);
    color: var(--white-color);
    box-shadow: var(--btn-shadow);
}

.btn-accent:hover {
    box-shadow: var(--hover-shadow);
    transform: translateY(-3px);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-down a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white-color);
    font-size: 1.2rem;
    transition: background-color var(--transition-fast);
}

.scroll-down a:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
}

.section-header h2::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    color: var(--primary-color);
    opacity: 0.1;
    font-size: 3.5rem;
    font-weight: 900;
    transform: translateY(-20%) scale(1.2);
    pointer-events: none;
    letter-spacing: -1px;
}

.section-divider {
    width: 100px;
    height: 4px;
    background: var(--primary-gradient);
    margin: 0 auto 25px;
    position: relative;
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(76, 175, 80, 0.2);
}

.section-divider::before,
.section-divider::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-gradient);
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 2px 5px rgba(76, 175, 80, 0.3);
}

.section-divider::before {
    left: -20px;
}

.section-divider::after {
    right: -20px;
}

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

[data-theme="dark"] .section-header h2::before {
    opacity: 0.05;
}

/* ===== ABOUT SECTION ===== */
.about {
    background-color: var(--white-color);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    opacity: 0.05;
    border-radius: 50%;
    top: -150px;
    left: -150px;
    z-index: 0;
}

.about::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--accent-color);
    opacity: 0.05;
    border-radius: 50%;
    bottom: -100px;
    right: -100px;
    z-index: 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.about-image {
    flex: 1;
}

.image-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--card-shadow);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 70%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

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

.image-container:hover::before {
    opacity: 1;
}

.image-container img {
    width: 100%;
    transition: transform var(--transition-normal);
}

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

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

blockquote {
    padding: 20px;
    background-color: rgba(76, 175, 80, 0.1);
    border-left: 4px solid var(--primary-color);
    margin: 20px 0;
    border-radius: var(--border-radius-sm);
    font-style: italic;
}

blockquote p {
    margin: 0;
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* ===== SERVICES SECTION ===== */
.services {
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--secondary-color);
    opacity: 0.03;
    border-radius: 50%;
    top: -200px;
    right: -200px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.service-card {
    background-color: var(--white-color);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: var(--card-shadow);
    transition: all var(--transition-normal);
    position: relative;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-normal);
    z-index: 1;
}

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

.service-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon img {
    max-width: 100%;
    max-height: 100%;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 700;
    transition: color var(--transition-fast);
}

.service-card p {
    margin-bottom: 20px;
    color: var(--dark-color);
    opacity: 0.8;
    line-height: 1.6;
}

.service-price {
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 1.1rem;
    transition: color var(--transition-fast);
}

.service-card:hover .service-price {
    color: var(--primary-dark);
}

[data-theme="dark"] .service-card {
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===== GALLERY SECTION ===== */
.gallery {
    background-color: var(--white-color);
    position: relative;
    overflow: hidden;
}

.gallery::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: var(--accent-color);
    opacity: 0.03;
    border-radius: 50%;
    bottom: -175px;
    left: -175px;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    position: relative;
    z-index: 1;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    height: 280px;
    box-shadow: var(--card-shadow);
    transition: all var(--transition-normal);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: 1;
}

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

.gallery-item:hover::before {
    opacity: 1;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all var(--transition-normal);
    z-index: 2;
    padding: 20px;
}

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

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

.gallery-overlay h3 {
    color: var(--white-color);
    margin-bottom: 15px;
    transform: translateY(30px);
    transition: transform var(--transition-normal), opacity var(--transition-normal);
    opacity: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.gallery-overlay .btn {
    transform: translateY(30px);
    transition: transform var(--transition-normal), opacity var(--transition-normal);
    opacity: 0;
}

.gallery-item:hover .gallery-overlay h3,
.gallery-item:hover .gallery-overlay .btn {
    transform: translateY(0);
    opacity: 1;
}

.gallery-overlay .btn-secondary {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* ===== PRICING SECTION ===== */
.pricing {
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.pricing::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    opacity: 0.03;
    border-radius: 50%;
    top: -200px;
    left: -200px;
}

.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.pricing-card {
    background-color: var(--white-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all var(--transition-normal);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-card.featured {
    transform: scale(1.05);
    border: none;
    z-index: 2;
    box-shadow: var(--hover-shadow);
}

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

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-15px);
}

.featured-label {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--accent-gradient);
    color: var(--white-color);
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
    letter-spacing: 0.5px;
}

.pricing-header {
    padding: 35px 30px;
    text-align: center;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(76, 175, 80, 0.2) 100%);
    position: relative;
    overflow: hidden;
}

.pricing-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 60%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.pricing-card:hover .pricing-header::before {
    opacity: 1;
}

.pricing-card.featured .pricing-header {
    background: var(--primary-gradient);
    color: var(--white-color);
}

.pricing-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    transition: transform var(--transition-fast);
}

.pricing-card:hover .pricing-icon {
    transform: scale(1.1) rotate(5deg);
}

.pricing-icon img {
    max-width: 100%;
    max-height: 100%;
}

.pricing-header h3 {
    margin-bottom: 5px;
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: 700;
}

.pricing-card.featured .pricing-header h3 {
    color: var(--white-color);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.pricing-body {
    padding: 35px 30px;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 25px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price span {
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.7;
    margin-left: 5px;
}

.pricing-features {
    margin-bottom: 35px;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    font-size: 1.05rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    margin-right: 12px;
    font-size: 1rem;
}

.pricing-features .fa-check {
    color: var(--success-color);
}

.pricing-features .fa-times {
    color: var(--danger-color);
}

.pricing-footer {
    padding: 0 30px 35px;
    text-align: center;
}

.pricing-footer .btn {
    padding: 14px 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    width: 100%;
}

.pricing-card.featured .pricing-footer .btn {
    background: var(--accent-gradient);
}

[data-theme="dark"] .pricing-card {
    border: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .pricing-card.featured {
    border: none;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    background-color: var(--white-color);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--secondary-color);
    opacity: 0.03;
    border-radius: 50%;
    bottom: -250px;
    right: -250px;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    z-index: 1;
}

.testimonial-item {
    padding: 0 15px;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.testimonial-item:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    background-color: var(--light-color);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    box-shadow: var(--card-shadow);
    position: relative;
    text-align: center;
    transition: box-shadow var(--transition-normal);
}

.testimonial-content::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content:hover {
    box-shadow: var(--hover-shadow);
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid var(--white-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-fast);
}

.testimonial-item:hover .testimonial-img {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.testimonial-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

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

.testimonial-rating {
    margin-bottom: 15px;
    color: var(--warning-color);
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.7;
    position: relative;
}

.testimonial-content p::after {
    content: '\201D';
    font-size: 1.5rem;
    color: var(--primary-color);
    vertical-align: -5px;
}

.testimonial-author h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
    font-weight: 700;
    transition: color var(--transition-fast);
}

.testimonial-item:hover .testimonial-author h4 {
    color: var(--accent-color);
}

.testimonial-author span {
    font-size: 0.9rem;
    opacity: 0.7;
    letter-spacing: 0.5px;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.prev-btn,
.next-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white-color);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.prev-btn:hover,
.next-btn:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

/* ===== CONTACT SECTION ===== */
.contact {
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--primary-color);
    opacity: 0.03;
    border-radius: 50%;
    top: -250px;
    right: -250px;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    position: relative;
    z-index: 1;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: transform var(--transition-normal);
    padding: 15px;
    border-radius: var(--border-radius-md);
}

.info-item:hover {
    transform: translateX(5px);
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: var(--card-shadow);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.info-item:hover .info-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
}

.info-content h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
    font-weight: 700;
}

.info-content p {
    margin-bottom: 0;
    font-size: 1.05rem;
    line-height: 1.6;
}

.info-content a {
    color: var(--primary-color);
    transition: color var(--transition-fast);
    position: relative;
    display: inline-block;
}

.info-content a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: var(--primary-gradient);
    transition: width var(--transition-normal);
}

.info-content a:hover {
    color: var(--accent-color);
}

.info-content a:hover::after {
    width: 100%;
}

.social-media h3 {
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.2);
    font-size: 1.1rem;
}

.social-icons a:hover {
    transform: translateY(-5px);
    background-color: var(--accent-color);
    box-shadow: 0 8px 15px rgba(255, 152, 0, 0.3);
}

.contact-map {
    height: 100%;
}

.map-container {
    height: 100%;
    min-height: 400px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 5px solid #fff;
    transition: box-shadow var(--transition-normal), transform var(--transition-normal);
}

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

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

[data-theme="dark"] .info-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .map-container {
    border-color: var(--dark-gray);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/bamboo-pattern.svg') repeat;
    opacity: 0.03;
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-logo img {
    height: 55px;
    margin-bottom: 20px;
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.2));
    transition: transform var(--transition-normal);
}

.footer-logo img:hover {
    transform: scale(1.05);
}

.footer-logo p {
    opacity: 0.9;
    line-height: 1.7;
    font-size: 1.05rem;
}

.footer h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 12px;
    font-weight: 700;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 3px;
    box-shadow: 0 2px 5px rgba(76, 175, 80, 0.3);
}

.footer-links ul li {
    margin-bottom: 15px;
    transition: transform var(--transition-fast);
}

.footer-links ul li:hover {
    transform: translateX(5px);
}

.footer-links ul li a {
    color: var(--white-color);
    opacity: 0.8;
    transition: all var(--transition-fast);
    display: inline-block;
    position: relative;
    padding-left: 15px;
    font-size: 1.05rem;
}

.footer-links ul li a::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    opacity: 0;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--primary-color);
    padding-left: 20px;
}

.footer-links ul li a:hover::before {
    opacity: 1;
    transform: translateY(-50%) translateX(5px);
}

.footer-hours ul li {
    margin-bottom: 15px;
    opacity: 0.8;
    transition: transform var(--transition-fast);
}

.footer-hours ul li:hover {
    transform: translateX(5px);
    opacity: 1;
}

.footer-hours ul li span {
    font-weight: 600;
    margin-right: 5px;
    color: var(--primary-color);
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    outline: none;
    font-family: var(--body-font);
    background-color: rgba(255, 255, 255, 0.9);
    transition: background-color var(--transition-fast);
    font-size: 1rem;
}

.newsletter-form input:focus {
    background-color: #fff;
}

.newsletter-form button {
    background: var(--primary-gradient);
    color: var(--white-color);
    border: none;
    padding: 0 20px;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.newsletter-form button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s;
}

.newsletter-form button:hover {
    background: var(--accent-gradient);
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.3);
}

.newsletter-form button:hover::before {
    left: 100%;
}

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

.footer-bottom::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 3px;
}

.footer-bottom p {
    margin-bottom: 0;
    opacity: 0.8;
}

.footer-bottom-links a {
    color: var(--white-color);
    opacity: 0.8;
    margin-left: 20px;
    transition: all var(--transition-fast);
    position: relative;
}

.footer-bottom-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width var(--transition-fast);
}

.footer-bottom-links a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-bottom-links a:hover::after {
    width: 100%;
}

[data-theme="dark"] .newsletter-form input {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white-color);
}

[data-theme="dark"] .newsletter-form input:focus {
    background-color: rgba(255, 255, 255, 0.15);
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.back-to-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    animation: pulse-shadow 2s infinite;
}

@keyframes pulse-shadow {
    0% {
        box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
    }
    50% {
        box-shadow: 0 5px 30px rgba(76, 175, 80, 0.6);
    }
    100% {
        box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
    }
}

.back-to-top:hover {
    background: var(--accent-gradient);
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 152, 0, 0.4);
}

.back-to-top:hover::before {
    opacity: 1;
}

.back-to-top i {
    transition: transform var(--transition-fast);
}

.back-to-top:hover i {
    transform: translateY(-5px);
}

/* ===== ADDITIONAL RESPONSIVE STYLES ===== */
@media screen and (max-width: 992px) {
    :root {
        --section-padding: 80px 0;
    }
    
    .hero {
        min-height: 600px;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .image-container {
        margin-bottom: 40px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        height: 300px;
    }
}

@media screen and (max-width: 768px) {
    :root {
        --section-padding: 70px 0;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .services-container,
    .gallery-container,
    .pricing-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .gallery-item {
        height: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-bottom-links a {
        margin: 0 10px;
    }
    
    .back-to-top {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        bottom: 20px;
        right: 20px;
    }
}

@media screen and (max-width: 576px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .gallery-item {
        height: 250px;
    }
    
    .testimonial-content {
        padding: 25px 20px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.3rem;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: var(--white-color);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 30px;
        transition: right var(--transition-normal);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    [data-theme="dark"] .nav-menu {
        background-color: var(--card-bg);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        border-left: 1px solid rgba(165, 214, 167, 0.2);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
        width: 100%;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1000;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        background-color: var(--accent-color);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
        background-color: var(--accent-color);
    }
    
    [data-theme="dark"] .nav-toggle.active span:nth-child(1),
    [data-theme="dark"] .nav-toggle.active span:nth-child(3) {
        background-color: var(--accent-light);
        box-shadow: 0 0 8px rgba(255, 183, 77, 0.6);
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-bottom-links a {
        margin: 0 10px;
    }
}

@media (max-width: 576px) {
    .container {
        width: 100%;
        padding: 0 20px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .gallery-container {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: 20px;
        right: 20px;
    }
}