@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #f59e0b;
    /* Amber 500 */
    --accent-hover: #d97706;

    --bg-body: #f8fafc;
    --bg-glass: rgba(255, 255, 255, 0.85);
    --bg-glass-dark: rgba(15, 23, 42, 0.95);

    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-light: #f8fafc;

    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-colored: 0 10px 25px -5px rgba(245, 158, 11, 0.4);

    --radius-pill: 9999px;
    --radius-card: 24px;

    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    font-weight: 700;
}

/* --- Glassmorphism Navbar --- */
.navbar-glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.navbar-glass.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav-link {
    font-size: 0.95rem;
    color: var(--text-main) !important;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover {
    color: var(--accent) !important;
}

.logo-img {
    height: 55px;
    transition: var(--transition);
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    /* Flexbox for centering */
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.4)), url('../images/header-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    color: white;
    padding-top: 80px;
    /* Offset for fixed navbar */
}

/* Ensure content is strictly centered */
.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center horizontally */
    justify-content: center;
    /* Center vertically */
    height: 100%;
    width: 100%;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 600px;
    margin: 0 auto 3rem;
    color: rgba(255, 255, 255, 0.9);
}

/* --- Premium Buttons --- */
.btn {
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary,
.btn-secondary {
    background-color: var(--accent);
    border-color: var(--accent);
    color: white;
    box-shadow: var(--shadow-colored);
}

.btn-primary:hover,
.btn-secondary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(245, 158, 11, 0.5);
}

.btn-soft-primary {
    background: rgba(15, 23, 42, 0.05);
    color: var(--primary);
}

.btn-soft-primary:hover {
    background: var(--primary);
    color: white;
}

.btn-hero {
    /* Specialized large button */
    padding: 18px 48px;
    font-size: 1.1rem;
    background: var(--accent);
    color: white;
    border-radius: var(--radius-pill);
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-colored);
    text-transform: uppercase;
    border: none;
}

.btn-hero:hover {
    background: var(--accent-hover);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px -5px rgba(245, 158, 11, 0.6);
}

/* --- Cards & Glassmorphism --- */
.card {
    border: none;
    border-radius: var(--radius-card);
    background: white;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-img-top {
    height: 250px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-card);
    padding: 2rem;
}

/* --- Form Elements --- */
.form-control,
.form-select {
    border-radius: var(--radius-pill);
    padding: 12px 20px;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    background-color: white;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
}

textarea.form-control {
    border-radius: 20px;
}

/* --- Sections --- */
.section-padding {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Footer --- */
footer {
    background: var(--primary);
    color: var(--text-light);
    padding: 5rem 0 2rem;
    margin-top: auto;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    color: white;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-bottom: 0.8rem;
    transition: var(--transition);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

/* --- Mobile Fixes --- */
@media (max-width: 991px) {
    .navbar-collapse {
        background: white;
        padding: 1.5rem;
        border-radius: 16px;
        box-shadow: var(--shadow-lg);
        margin-top: 1rem;
    }

    .hero {
        text-align: center;
        padding-bottom: 4rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

/* Sticky Bottom for Mobile */
.fixed-bottom-cta {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1040;
    width: 90%;
    max-width: 400px;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
}