:root {
    --primary: #8B5A3C;
    --secondary: #F5E6D3;
    --accent: #D4A574;
    --dark: #2C2C2C;
    --light: #FFFFFF;
    --gray-100: #F8F9FA;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-600: #6C757D;
    --gray-800: #343A40;
    --shadow-light: rgba(139, 90, 60, 0.1);
    --shadow-medium: rgba(139, 90, 60, 0.2);
    --shadow-dark: rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--dark);
    overflow-x: hidden;
}

.font-serif {
    font-family: 'Cormorant Garamond', serif;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    color: white;
}

.preloader-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.4) 0%,
            rgba(255,255,255,1) 15%,
            rgba(255, 255, 255, 0.4) 30%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 1s ease,
        shimmer 2s ease-in-out 0.5s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}


.preloader-text {
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.7);
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.2) 0%,
            rgba(255,255,255,1) 15%,
            rgba(255, 255, 255, 0.2) 30%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 1s ease 0.2s both,
        shimmer 2s ease-in-out 0.7s infinite;
}

.preloader-spinner-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto;
    animation: fadeInUp 1s ease 0.4s both;
}

.preloader-spinner {
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
}

.preloader-spinner.ring-outer {
    width: 80px;
    height: 80px;
    top: 0;
    left: 0;
    border-top-color: rgba(255, 255, 255, 0.9);
    border-right-color: rgba(255, 255, 255, 0.6);
    animation: spinClockwise 1.2s cubic-bezier(0.65, 0.05, 0.36, 1) infinite;
}

.preloader-spinner.ring-middle {
    width: 56px;
    height: 56px;
    top: 12px;
    left: 12px;
    border-bottom-color: rgba(255, 255, 255, 0.7);
    border-left-color: rgba(255, 255, 255, 0.4);
    animation: spinCounterClockwise 0.9s cubic-bezier(0.65, 0.05, 0.36, 1) infinite;
}

.preloader-spinner.ring-inner {
    width: 32px;
    height: 32px;
    top: 24px;
    left: 24px;
    border-top-color: rgba(255, 255, 255, 0.8);
    border-right-color: rgba(255, 255, 255, 0.5);
    animation: spinClockwise 0.6s cubic-bezier(0.65, 0.05, 0.36, 1) infinite;
}

.preloader-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    top: 35px;
    left: 35px;
    animation: pulseDot 1.5s ease-in-out infinite;
}

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

@keyframes spinClockwise {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes spinCounterClockwise {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    50% { transform: scale(1.6); opacity: 0.6; box-shadow: 0 0 20px 8px rgba(255, 255, 255, 0); }
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 30px var(--shadow-light);
}

.navbar-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.7rem;
    font-weight: 600;
    color: var(--primary) !important;
    text-decoration: none;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand:hover { transform: scale(1.05); }

.navbar-logo-img {
    height: 3rem;
    width: auto;
}

.nav-link {
    color: var(--dark) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

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

.nav-link:hover,
.nav-link.active { color: var(--primary) !important; }

/* Buttons */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-primary-custom:hover::before { left: 0; }

.btn-primary-custom:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.btn-outline-custom {
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
    display: flex;
}

.btn-outline-custom:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 1000;
    box-shadow: 0 5px 20px var(--shadow-medium);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-medium);
}

/* Hero Section */
.hero {
    height: 85vh;
    position: relative;
    display: flex;
    align-items: center;
    background: url('../images/banner.jpg') center/cover no-repeat;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.2;
}

.hero-welcome {
    font-size: clamp(6.5rem, 13vw, 10rem);
    margin-bottom: 0.3rem;
    background: linear-gradient(90deg,
            #A9782F 0%, #C9A45B 15%,
            #E7D3A2 30%, #FFF8E7 45%,
            #E7D3A2 60%, #C9A45B 80%,
            #A9782F 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: heroShimmer 5s ease-in-out infinite;
}

.hero-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 500;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg,
            #A9782F 0%, #C9A45B 15%,
            #E7D3A2 30%, #FFF8E7 45%,
            #E7D3A2 60%, #C9A45B 80%,
            #A9782F 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: heroShimmer 5s ease-in-out 0.2s infinite;
}

.hero-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.3rem, 2.5vw, 2rem);
    font-weight: 400;
    font-style: italic;
    margin-bottom: 2.5rem;
    background: linear-gradient(90deg,
            #A9782F 0%, #C9A45B 15%,
            #E7D3A2 30%, #FFF8E7 45%,
            #E7D3A2 60%, #C9A45B 80%,
            #A9782F 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: heroShimmer 5s ease-in-out 0.4s infinite;
}

@keyframes heroShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.floating-element:nth-child(2) { top: 60%; left: 80%; animation-delay: 2s; }
.floating-element:nth-child(3) { top: 40%; left: 60%; animation-delay: 4s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); opacity: 0.3; }
    50% { transform: translateY(-20px); opacity: 0.8; }
}

/* Sections */
.section { padding: 100px 0; }

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
    position: relative;
}

.section-subtitle {
    color: var(--gray-600);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    border: 1px solid var(--gray-200);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary), rgba(139, 90, 60, 0.05));
    transition: left 0.4s ease;
    z-index: -1;
}

.service-card:hover::before { left: 0; }

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--shadow-light);
    border-color: var(--accent);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.service-card .service-icon { margin: auto; }

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

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

.service-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-card .service-title {
    text-align: center;
    margin-top: 3%;
}

.service-card p { text-align: center; }

.service-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1rem;
    text-align: center;
}

/* Gallery */
.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 2rem;
    cursor: pointer;
    transition: transform 0.4s ease;
}

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

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 90, 60, 0.8), rgba(212, 165, 116, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 25px;
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid var(--gray-200);
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-light);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    border: 4px solid var(--secondary);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-stars {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

/* Pulse Button */
.pulse-btn {
    animation: pulseBtn 2s ease-in-out infinite;
}

.pulse-btn:hover {
    animation: none;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

@keyframes pulseBtn {
    0%, 100% { box-shadow: 0 0 0 0 rgba(139, 90, 60, 0.4); }
    50% { box-shadow: 0 0 0 12px rgba(139, 90, 60, 0); }
}

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

.footer-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 15px;
    text-decoration: none;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
    background: white;
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 15px 40px var(--shadow-light);
}

.form-control {
    border: 2px solid var(--gray-200);
    border-radius: 15px;
    padding: 15px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--gray-100);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(139, 90, 60, 0.25);
    background: white;
}

/* Stats Counter */
.stats {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    position: relative;
    padding: 40px 0;
}

.stat-item {
    text-align: center;
    padding: 1.2rem 0.5rem;
}

.stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem;
    font-weight: 700;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Booking Modal */
.modal-content {
    border-radius: 25px;
    border: none;
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-bottom: none;
}

.modal-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
}

#modalServicePrice {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 2;
    color: var(--accent);
}

/* Scroll Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-zoom-in {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s ease;
}

.animate-zoom-in.visible {
    opacity: 1;
    transform: scale(1);
}

.animate-slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.animate-slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.animate-slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-bounce-in {
    opacity: 0;
    transform: scale(0.3);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.animate-bounce-in.visible {
    opacity: 1;
    transform: scale(1);
}

.animate-flip-in {
    opacity: 0;
    transform: perspective(1000px) rotateY(90deg);
    transition: all 0.8s ease;
}

.animate-flip-in.visible {
    opacity: 1;
    transform: perspective(1000px) rotateY(0deg);
}

/* Staggered animations for children */
.stagger-children>* {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.stagger-children.animated>* {
    opacity: 1;
    transform: translateY(0);
}

.stagger-children.animated>*:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.animated>*:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.animated>*:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.animated>*:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.animated>*:nth-child(5) { transition-delay: 0.5s; }
.stagger-children.animated>*:nth-child(6) { transition-delay: 0.6s; }

/* Additional Smooth Animations */
.smooth-transition { transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1); }
.hover-lift:hover { transform: translateY(-5px); }
.hover-scale:hover { transform: scale(1.05); }

/* About Circular Image */
.about-image-wrapper {
    position: relative;
    width: 380px;
    height: 380px;
    margin: 0 auto;
    border-radius: 50%;
    padding: 8px;
    background: linear-gradient(135deg, var(--primary), var(--accent), #E7D3A2);
    box-shadow: 0 25px 60px rgba(139, 90, 60, 0.25);
}

.about-round-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 65%;
    border-radius: 50%;
    border: 4px solid white;
    transition: transform 0.6s ease;
}

.about-round-image:hover {
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .about-image-wrapper {
        width: 260px;
        height: 260px;
    }
}

/* Loading Animation for Images */
.image-loading {
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.hero-btn {
    width: auto !important;
    padding: 14px 40px;
    background: linear-gradient(90deg,
            #A9782F 0%, #C9A45B 20%,
            #E7D3A2 40%, #FFF8E7 50%,
            #E7D3A2 60%, #C9A45B 80%,
            #A9782F 100%) !important;
    background-size: 200% 100% !important;
    animation: heroShimmer 5s ease-in-out 0.6s infinite !important;
    border: none;
    color: #2C1A0E !important;
    font-weight: 700;
}

/* Media Queries */
@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .hero {
        background: url('../images/banner-mobile.jpg') center/cover no-repeat;
        height: 75vh;
        text-align: center;
    }
    .hero-content { padding: 0 8%; }
    .hero-welcome {
        font-size: 4rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }
    .hero-brand {
        font-size: 2.4rem;
        line-height: 1.2;
        margin-bottom: 2.5rem;
    }
    .hero-btn {
        font-size: 0.9rem;
        padding: 12px 0 !important;
        width: 180px !important;
        max-width: 180px;
        display: block !important;
        margin: 0 auto;
        text-align: center;
    }
    .hero .d-flex { justify-content: center; }
    .stats { padding: 24px 0; }
    .stats .stat-number { font-size: 1.8rem; }
    .stats .stat-label { font-size: 0.75rem; }
    .navbar-brand { font-size: 1.35rem; }
    .navbar-logo-img { height: 1.8rem; }
    .preloader-logo { font-size: 2.25rem; }
    .navbar { padding: 0.8rem 0; }
    .service-card,
    .testimonial-card { margin-bottom: 2rem; }
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    .btn-primary-custom { font-size: 14px; }
    .btn-outline-custom { font-size: 14px; }
    .contact-form { padding: 1.5rem; }
}

