/* ===== LUXURY DESIGN SYSTEM ===== */
/* International Premium Spa Design */

:root {
    /* Brand Colors */
    --primary: #1a6b3c;
    --primary-light: #2e8b57;
    --primary-dark: #0f4a28;
    --primary-gradient: linear-gradient(135deg, #1a6b3c 0%, #3aa86a 100%);
    --primary-gradient-reverse: linear-gradient(135deg, #3aa86a 0%, #1a6b3c 100%);
    
    /* Gold Accents */
    --gold: #c9a84c;
    --gold-light: #f5edd6;
    --gold-gradient: linear-gradient(135deg, #c9a84c, #e8d5a3);
    
    /* Neutrals */
    --cream: #faf7f0;
    --dark: #1a1a2e;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    
    /* Shadows */
    --shadow-sm: 0 4px 24px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 48px rgba(0,0,0,0.10);
    --shadow-lg: 0 16px 72px rgba(0,0,0,0.14);
    --shadow-hover: 0 20px 80px rgba(26, 107, 60, 0.15);
    --shadow-gold: 0 8px 32px rgba(201, 168, 76, 0.25);
    
    /* Border Radius */
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 50px;
    
    /* Transitions */
    --transition-smooth: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #2d2d3f;
    background: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.7;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', 'Cormorant Garamond', serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 2rem); }
h5 { font-size: clamp(1rem, 2vw, 1.5rem); }
h6 { font-size: clamp(0.875rem, 1.5vw, 1.25rem); }

p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-muted);
}

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

/* ===== UTILITY CLASSES ===== */
.text-primary-custom { color: var(--primary) !important; }
.text-gold { color: var(--gold) !important; }
.bg-primary-custom { background: var(--primary) !important; }
.bg-primary-gradient { background: var(--primary-gradient) !important; }
.bg-gold-gradient { background: var(--gold-gradient) !important; }
.bg-cream { background: var(--cream) !important; }
.border-primary-custom { border-color: var(--primary) !important; }

.section-padding {
    padding: 120px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 80px 0;
    }
}

/* ===== BUTTONS ===== */
.btn-primary-custom {
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    padding: 16px 40px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(26, 107, 60, 0.30);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient-reverse);
    transition: var(--transition-smooth);
    opacity: 0;
}

.btn-primary-custom:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 35px rgba(26, 107, 60, 0.40);
    color: #fff;
}

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

.btn-primary-custom span {
    position: relative;
    z-index: 1;
}

.btn-outline-primary-custom {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 14px 36px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-smooth);
    position: relative;
    cursor: pointer;
}

.btn-outline-primary-custom:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 107, 60, 0.25);
}

.btn-gold {
    background: var(--gold-gradient);
    color: #1a1a2e;
    border: none;
    padding: 16px 40px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.35);
    cursor: pointer;
}

.btn-gold:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 35px rgba(201, 168, 76, 0.45);
    color: #1a1a2e;
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.875rem;
}

/* ===== NAVBAR ===== */
.navbar-luxury {
    width: 100%;
    max-width: 1400px;
    margin: 20px auto 0;
    padding: 0.6rem 2.5rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(26, 107, 60, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    z-index: 1050;
}

.navbar-luxury.scrolled {
    margin-top: 10px;
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(30px) saturate(200%);
}

.navbar-luxury .nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--dark) !important;
    padding: 0.6rem 1.3rem !important;
    border-radius: 12px;
    transition: var(--transition-smooth);
    position: relative;
    letter-spacing: 0.3px;
}

.navbar-luxury .nav-link::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
    border-radius: 4px;
}

.navbar-luxury .nav-link:hover::after,
.navbar-luxury .nav-link.active::after {
    width: 60%;
}

.navbar-luxury .nav-link:hover {
    color: var(--primary) !important;
    background: rgba(26, 107, 60, 0.06);
    transform: translateY(-1px);
}

.navbar-luxury .nav-link.active {
    color: var(--primary) !important;
    background: rgba(26, 107, 60, 0.08);
}

.navbar-luxury .navbar-brand img {
    height: 52px;
    width: auto;
    border-radius: 14px;
    transition: var(--transition-smooth);
}

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

.navbar-luxury .login-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-bounce);
    box-shadow: 0 2px 16px rgba(26, 107, 60, 0.25);
    cursor: pointer;
}

.navbar-luxury .login-btn:hover {
    transform: scale(1.10) rotate(-4deg);
    box-shadow: 0 4px 28px rgba(26, 107, 60, 0.35);
    color: #fff;
}

@media (max-width: 991.98px) {
    .navbar-luxury {
        margin: 12px 16px;
        padding: 0.8rem 1.2rem;
        border-radius: 20px;
    }
    .navbar-luxury .navbar-collapse {
        background: rgba(255,255,255,0.98);
        padding: 1.5rem;
        margin-top: 1rem;
        border-radius: 16px;
        box-shadow: var(--shadow-sm);
    }
    .navbar-luxury .nav-link {
        padding: 0.8rem 1rem !important;
        font-size: 1rem;
    }
    .navbar-luxury .nav-link::after { display: none; }
}

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

.hero-section .carousel-item {
    min-height: 100vh;
    background: var(--dark);
    position: relative;
}

.hero-section .carousel-item img {
    object-fit: cover;
    opacity: 0.6;
    transition: var(--transition-smooth);
}

.hero-section .carousel-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
}

.hero-section .carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    z-index: 2;
}

.hero-section .carousel-caption .content {
    max-width: 900px;
    padding: 2rem;
}

.hero-section .carousel-caption .subtitle {
    font-family: 'Inter', sans-serif;
    letter-spacing: 10px;
    font-weight: 400;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.hero-section .carousel-caption h1 {
    font-size: 4.5rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 40px rgba(0,0,0,0.3);
}

.hero-section .carousel-caption h1 .highlight {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section .carousel-caption p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    font-weight: 300;
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-section .carousel-indicators li {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
    background: transparent;
    transition: var(--transition-smooth);
    margin: 0 8px;
}

.hero-section .carousel-indicators li.active {
    background: var(--gold);
    border-color: var(--gold);
    transform: scale(1.2);
}

.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
    width: 70px;
    height: 70px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.hero-section:hover .carousel-control-prev,
.hero-section:hover .carousel-control-next {
    opacity: 1;
}

.hero-section .carousel-control-prev-icon,
.hero-section .carousel-control-next-icon {
    background-color: rgba(255,255,255,0.15);
    border-radius: 50%;
    padding: 24px;
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}

.hero-section .carousel-control-prev-icon:hover,
.hero-section .carousel-control-next-icon:hover {
    background-color: rgba(255,255,255,0.25);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .hero-section .carousel-caption h1 {
        font-size: 2.5rem;
    }
    .hero-section .carousel-caption p {
        font-size: 1rem;
    }
    .hero-section .carousel-control-prev,
    .hero-section .carousel-control-next {
        display: none;
    }
}

/* ===== SECTION HEADERS ===== */
.section-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(26, 107, 60, 0.08);
    padding: 0.5rem 1.6rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.15;
}

.section-title span {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 300;
    max-width: 650px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .section-title { font-size: 2.3rem; }
    .section-subtitle { font-size: 1rem; }
}

/* ===== CARDS ===== */
.card-luxury {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0,0,0,0.03);
}

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

/* ===== FORMS ===== */
.form-luxury {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.04);
}

.form-luxury .form-control,
.form-luxury .form-select {
    border-radius: 12px;
    border: 1.5px solid #e8eaed;
    padding: 1rem 1.3rem;
    font-size: 1rem;
    transition: var(--transition-smooth);
    font-family: 'Inter', sans-serif;
    background: #fafafa;
}

.form-luxury .form-control:focus,
.form-luxury .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 5px rgba(26, 107, 60, 0.08);
    background: #fff;
}

.form-luxury .form-label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

.form-luxury .form-control::placeholder {
    color: #b0b5c0;
}

/* ===== FOOTER ===== */
.footer-luxury {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 30px;
}

.footer-luxury a {
    color: rgba(255,255,255,0.6);
    transition: var(--transition-smooth);
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-luxury a:hover {
    color: var(--gold);
    transform: translateX(4px);
}

.footer-luxury .social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #fff;
    transition: var(--transition-smooth);
    font-size: 1.1rem;
}

.footer-luxury .social-btn:hover {
    background: var(--gold-gradient);
    color: #1a1a2e;
    transform: translateY(-4px);
}

.footer-luxury .brand {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.footer-luxury .brand span {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-luxury .footer-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0;
    transition: var(--transition-smooth);
}

.footer-luxury .footer-link:hover {
    color: var(--gold);
    transform: translateX(6px);
}

.footer-luxury .footer-link i {
    font-size: 0.7rem;
    color: var(--gold);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 35px;
    right: 35px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-bounce);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
    text-decoration: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: var(--shadow-lg);
    color: #fff;
}

/* ===== ANIMATIONS ===== */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

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

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

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

/* ===== SMOOTH SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f0f0f0;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ===== LOADING SPINNER ===== */
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(26, 107, 60, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 576px) {
    .navbar-luxury .navbar-brand img {
        height: 42px;
    }
    .section-title {
        font-size: 2rem;
    }
    .form-luxury {
        padding: 2rem;
    }
}
