/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
    /* Color Palette */
    --color-primary: #1a237e;       /* Deep Navy Blue */
    --color-secondary: #722f37;     /* Burgundy/Wine */
    --color-dark: #2c3e50;          /* Anthracite Grey */
    --color-dark-bg: #121824;       /* Slate Dark for dark backgrounds */
    --color-gold: #c5a059;          /* Prestige Gold */
    --color-gold-light: #e5c185;    /* Light Gold */
    --color-gold-dark: #9e7f41;     /* Dark Gold */
    --color-white: #ffffff;
    --color-light-bg: #f8f9fa;      /* Off-white */
    --color-card-bg: #ffffff;
    --color-border: #e2e8f0;
    --color-error: #d9534f;
    --color-success: #2ec4b6;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.2s ease-in-out;
    --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.12);
    
    /* Layout */
    --header-height: 90px;
    --header-height-mobile: 70px;
    --container-width: 1200px;
}

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

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

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-primary);
}

p {
    color: #4a5568;
    margin-bottom: 1.5rem;
}

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

ul {
    list-style: none;
}

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

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    border: none;
    background: none;
    outline: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-light-bg);
}
::-webkit-scrollbar-thumb {
    background: var(--color-gold);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold-dark);
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

.section {
    padding: 7.5rem 0;
    position: relative;
}

.section-alt {
    background-color: var(--color-light-bg);
}

.section-dark {
    background-color: var(--color-dark-bg);
    color: var(--color-white);
}

.section-dark h2 {
    color: var(--color-white);
}

.section-dark p {
    color: #cbd5e1;
}

.text-center {
    text-align: center;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 4.5rem auto;
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-gold);
}

.section-header p {
    font-style: italic;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-gold);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 2.2rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: 1px solid var(--color-primary);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%) rotate(45deg);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(114, 47, 55, 0.3);
}

.btn-primary:hover::after {
    width: 250%;
    height: 250%;
}

.btn-outline {
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--color-gold);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.2);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-white);
    border: 1px solid var(--color-secondary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 35, 126, 0.3);
}

/* ==========================================================================
   NAVIGATION HEADER
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: transparent;
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header.scrolled {
    background-color: rgba(18, 24, 36, 0.95);
    height: 80px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.header-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-monogram {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(26, 35, 126, 0.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.05em;
    line-height: 1.1;
}

.logo-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-gold);
    font-weight: 500;
}

/* Navigation Links */
.nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-list {
    display: flex;
    gap: 2.2rem;
}

.nav-link {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--color-gold);
}

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

.header-cta {
    font-size: 0.8rem;
    padding: 0.7rem 1.5rem;
}

/* Mobile Menu Button */
.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    cursor: pointer;
    z-index: 1001;
}

.burger span {
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    transition: var(--transition-smooth);
}

/* ==========================================================================
   CANVAS INTERACTIVE BACKGROUND
   ========================================================================== */
#canvas-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 650px;
    background-color: var(--color-dark-bg);
    color: var(--color-white);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(26, 35, 126, 0.25) 0%, transparent 60%);
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 5;
}

.hero-tag {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--color-gold);
    margin-bottom: 1rem;
    display: block;
}

.hero-title {
    font-size: 3.8rem;
    line-height: 1.15;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--color-gold);
    font-family: var(--font-heading);
}

.hero-desc {
    font-size: 1.1rem;
    color: #a0aec0;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.hero-image-wrapper {
    position: relative;
    z-index: 5;
    justify-self: center;
    width: 100%;
    max-width: 480px;
}

.hero-image-border {
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--color-gold);
    z-index: 1;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.hero-image {
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-heavy);
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center 15%;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero:hover .hero-image-border {
    transform: translate(10px, -10px);
}

/* ==========================================================================
   ABOUT BLOCK (ON INDEX)
   ========================================================================== */
.about-split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.about-img-box {
    position: relative;
}

.about-img-box::after {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--color-gold) 15%, transparent 16%) 0 0 / 15px 15px;
    z-index: 1;
    opacity: 0.3;
}

.about-img {
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-medium);
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.about-badge {
    position: absolute;
    bottom: -30px;
    left: 30px;
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 1.5rem 2.5rem;
    z-index: 3;
    box-shadow: var(--shadow-medium);
    border-left: 5px solid var(--color-gold);
}

.about-badge-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    display: block;
    color: var(--color-gold);
}

.about-badge-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
}

.about-quote {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    line-height: 1.5;
    font-style: italic;
    color: var(--color-primary);
    border-left: 3px solid var(--color-gold);
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

.about-text-list {
    margin-bottom: 2.5rem;
}

.about-text-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.about-text-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--color-gold);
}

/* ==========================================================================
   SERVICES GRID
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    padding: 2.5rem 2rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-icon {
    font-size: 2.2rem;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.service-card p {
    font-size: 0.95rem;
    color: #718096;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.service-link {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-secondary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.service-link span {
    transition: transform 0.2s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--color-gold);
}

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

.service-card:hover .service-link span {
    transform: translateX(5px);
}

/* ==========================================================================
   STATISTICS & ACHIEVEMENTS
   ========================================================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #a0aec0;
    font-weight: 600;
}

/* Testimonials Carousel */
.testimonials-slider {
    margin-top: 5rem;
    position: relative;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    text-align: center;
    animation: fadeIn 0.6s ease;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-quote {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--color-white);
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-author {
    font-weight: 600;
    color: var(--color-gold);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.testimonial-desc {
    font-size: 0.8rem;
    color: #a0aec0;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.control-btn {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.control-btn:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

/* ==========================================================================
   CONTACT & BOOKING FORM
   ========================================================================== */
.contact-section-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
}

.contact-item-icon {
    font-size: 1.5rem;
    color: var(--color-gold);
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item-details h4 {
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.contact-item-details p, .contact-item-details a {
    color: #4a5568;
    margin-bottom: 0;
}

.contact-item-details a:hover {
    color: var(--color-secondary);
}

/* Booking Form */
.booking-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    padding: 3rem;
    box-shadow: var(--shadow-medium);
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.form-input {
    width: 100%;
    border: 1px solid var(--color-border);
    padding: 0.85rem 1rem;
    transition: var(--transition-fast);
    background-color: var(--color-light-bg);
}

.form-input:focus {
    border-color: var(--color-gold);
    background-color: var(--color-white);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 2rem;
    cursor: pointer;
}

.form-checkbox input {
    margin-top: 0.25rem;
}

.checkbox-text {
    font-size: 0.8rem;
    color: #718096;
    line-height: 1.4;
}

.checkbox-text a {
    color: var(--color-secondary);
    text-decoration: underline;
}

.btn-form {
    width: 100%;
}

/* Form Errors */
.error-msg {
    color: var(--color-error);
    font-size: 0.75rem;
    margin-top: 0.25rem;
    display: none;
}

.form-input.invalid {
    border-color: var(--color-error);
    box-shadow: 0 0 0 3px rgba(217, 83, 79, 0.1);
}

.form-input.invalid ~ .error-msg {
    display: block;
}

/* Success Popup Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 24, 36, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    backdrop-filter: blur(8px);
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--color-white);
    padding: 3.5rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-heavy);
    transform: scale(0.9);
    transition: var(--transition-smooth);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-icon {
    font-size: 3.5rem;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.modal-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.modal-content p {
    color: #4a5568;
    margin-bottom: 2rem;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: var(--color-dark);
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--color-secondary);
}

/* Map Styling */
.map-container {
    height: 380px;
    width: 100%;
    border: 1px solid var(--color-border);
    margin-top: 3rem;
    background-color: #e5e3e0; /* Placeholder color before map loads */
    box-shadow: var(--shadow-subtle);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: var(--color-dark-bg);
    color: var(--color-white);
    padding: 5rem 0 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-about .logo {
    margin-bottom: 1.5rem;
}

.footer-about p {
    color: #a0aec0;
    font-size: 0.9rem;
    max-width: 320px;
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.1rem;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links-list li {
    margin-bottom: 0.75rem;
}

.footer-links-list a {
    color: #cbd5e1;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links-list a:hover {
    color: var(--color-gold);
    padding-left: 5px;
}

.footer-contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.footer-contact-details p {
    margin-bottom: 0;
    color: #cbd5e1;
}

.footer-contact-details a:hover {
    color: var(--color-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #718096;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

.footer-legal-links a:hover {
    color: var(--color-white);
}

/* ==========================================================================
   SCROLL ANIMATIONS (Intersection Observer)
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ==========================================================================
   PAGE-SPECIFIC STYLES (About, Services, Contacts)
   ========================================================================== */
.page-header {
    height: 350px;
    background-color: var(--color-dark-bg);
    color: var(--color-white);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--header-height);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(26, 35, 126, 0.2) 0%, transparent 80%);
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 5;
    text-align: center;
}

.page-header-title {
    font-size: 3rem;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.breadcrumbs {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold);
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.breadcrumbs a {
    color: #a0aec0;
}

.breadcrumbs a:hover {
    color: var(--color-white);
}

/* Detailed About Page */
.about-bio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.bio-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.bio-timeline {
    position: relative;
    padding-left: 2rem;
    border-left: 2px solid var(--color-gold);
    margin: 2rem 0;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: calc(-2rem - 6px);
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-white);
    border: 2px solid var(--color-gold);
    transition: var(--transition-fast);
}

.timeline-item:hover::before {
    background-color: var(--color-secondary);
    transform: scale(1.3);
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 0.25rem;
}

.timeline-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.timeline-desc {
    font-size: 0.9rem;
    color: #4a5568;
}

/* Services Page Accordion */
.accordion {
    max-width: 800px;
    margin: 4rem auto 0 auto;
}

.accordion-item {
    border-bottom: 1px solid var(--color-border);
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1rem;
    cursor: pointer;
    text-align: left;
    transition: var(--transition-fast);
}

.accordion-header h3 {
    font-size: 1.2rem;
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin: 0;
}

.accordion-icon {
    font-size: 1.2rem;
    color: var(--color-gold);
    transition: var(--transition-smooth);
}

.accordion-header:hover {
    background-color: var(--color-light-bg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    padding: 0 1rem;
}

.accordion-content p {
    padding-bottom: 1.5rem;
    color: #4a5568;
    font-size: 0.95rem;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
    transition: max-height 0.6s cubic-bezier(1, 0, 1, 0);
}

/* Credentials Grid */
.credentials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.credential-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
}

.credential-icon {
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.credential-card h4 {
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.credential-card p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

.credential-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--color-gold);
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
/* ==========================================================================
   RESPONSIVE: TABLET (max-width: 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
    :root {
        --header-height: 80px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-grid {
        gap: 2rem;
    }

    .hero-image-wrapper {
        max-width: 400px;
    }

    .about-split {
        gap: 3rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-bio-grid {
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-section-split {
        gap: 3rem;
    }
}

/* ==========================================================================
   RESPONSIVE: MOBILE (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
    /* --- Base --- */
    html {
        font-size: 15px;
    }

    .section {
        padding: 4rem 0;
    }

    .container {
        padding: 0 1.2rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    /* --- Header & Navigation --- */
    .header {
        height: var(--header-height-mobile);
    }

    .header.scrolled {
        height: var(--header-height-mobile);
    }

    .logo-monogram {
        width: 38px;
        height: 38px;
        font-size: 1.4rem;
    }

    .logo-name {
        font-size: 1.1rem;
    }

    .logo-title {
        font-size: 0.6rem;
    }

    .burger {
        display: flex;
    }

    .burger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .burger.active span:nth-child(2) {
        opacity: 0;
    }

    .burger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        height: 100dvh;
        background-color: var(--color-dark-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
        z-index: 999;
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .nav-link {
        font-size: 1.15rem;
    }

    .header-cta {
        font-size: 0.9rem;
        padding: 0.8rem 1.8rem;
    }

    /* --- Hero Section --- */
    .hero {
        height: auto;
        min-height: 100vh;
        min-height: 100dvh;
        padding: 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: calc(var(--header-height-mobile) + 2rem);
        padding-bottom: 3rem;
        gap: 2rem;
    }

    .hero-content {
        order: 1;
    }

    .hero-tag {
        font-size: 1rem;
    }

    .hero-title {
        font-size: 2.4rem;
        margin-bottom: 1rem;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .hero-image-wrapper {
        order: 2;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-image-border {
        display: none;
    }

    .hero-image {
        aspect-ratio: 1 / 1;
        max-height: 300px;
        border-radius: 50%;
        border: 4px solid var(--color-gold);
    }

    /* --- About Split --- */
    .about-split {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-img-box {
        max-width: 100%;
        margin: 0 auto;
    }

    .about-img-box::after {
        display: none;
    }

    .about-img {
        max-height: 400px;
        border-radius: 12px;
    }

    .about-badge {
        bottom: -15px;
        left: 15px;
        padding: 0.8rem 1.5rem;
    }

    .about-badge-num {
        font-size: 1.8rem;
    }

    .about-badge-text {
        font-size: 0.65rem;
    }

    .about-content h2 {
        font-size: 1.8rem;
    }

    .about-quote {
        font-size: 1rem;
        padding: 1rem 1.2rem;
    }

    /* --- Timeline --- */
    .about-bio-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .bio-timeline {
        padding-left: 1.5rem;
        margin: 1rem 0;
    }

    .timeline-year {
        font-size: 1.1rem;
    }

    .timeline-title {
        font-size: 0.95rem;
    }

    .timeline-desc {
        font-size: 0.85rem;
    }

    /* --- Credentials --- */
    .credentials-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .credential-card {
        padding: 1.5rem;
    }

    .credential-card h4 {
        font-size: 1.05rem;
    }

    /* --- Services Grid --- */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .service-card {
        padding: 1.8rem 1.5rem;
    }

    .service-icon {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .service-card h3 {
        font-size: 1.15rem;
        margin-bottom: 0.6rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    /* --- Accordion / FAQ --- */
    .accordion {
        margin-top: 2.5rem;
    }

    .accordion-header h3 {
        font-size: 1rem;
    }

    .accordion-content p {
        font-size: 0.9rem;
    }

    /* --- Stats --- */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    /* --- Testimonials --- */
    .testimonials-slider {
        padding: 2rem 1.5rem;
    }

    .testimonial-quote {
        font-size: 1rem;
    }

    .testimonial-author {
        font-size: 1rem;
    }

    .slider-controls {
        margin-top: 1.5rem;
    }

    /* --- Contact Section --- */
    .contact-section-split {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-item {
        padding: 1.2rem;
    }

    .contact-item-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .contact-item-details h4 {
        font-size: 1rem;
    }

    .booking-card {
        padding: 1.8rem;
    }

    .booking-card h3 {
        font-size: 1.4rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-label {
        font-size: 0.85rem;
    }

    .form-input {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }

    .btn-form {
        font-size: 1rem;
        padding: 1rem;
    }

    /* --- Map --- */
    .map-container {
        height: 280px;
        border-radius: 12px;
    }

    /* --- Footer --- */
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-about p {
        margin-left: auto;
        margin-right: auto;
        max-width: 400px;
    }

    .footer-links-list li {
        margin-bottom: 0.6rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding-top: 1.5rem;
    }

    .footer-legal-links {
        gap: 1rem;
    }

    /* --- Modal --- */
    .modal-content {
        width: 92%;
        padding: 2rem 1.5rem;
    }
}

/* ==========================================================================
   RESPONSIVE: SMALL PHONE (max-width: 480px)
   ========================================================================== */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    :root {
        --header-height-mobile: 60px;
    }

    .section {
        padding: 3rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    /* --- Hero on Small Phone --- */
    .hero-title {
        font-size: 2rem;
    }

    .hero-tag {
        font-size: 0.9rem;
    }

    .hero-desc {
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .hero-image-wrapper {
        max-width: 220px;
    }

    .hero-image {
        max-height: 220px;
    }

    /* --- About --- */
    .about-img {
        max-height: 320px;
    }

    .about-content h2 {
        font-size: 1.5rem;
    }

    .about-quote {
        font-size: 0.9rem;
        padding: 0.8rem 1rem;
    }

    .about-badge {
        padding: 0.6rem 1.2rem;
    }

    .about-badge-num {
        font-size: 1.5rem;
    }

    /* --- Stats on Small --- */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-item {
        padding: 1.2rem 0.8rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    /* --- Services --- */
    .service-card {
        padding: 1.4rem 1.2rem;
    }

    .service-icon {
        font-size: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.05rem;
    }

    /* --- Testimonials --- */
    .testimonials-slider {
        padding: 1.5rem 1rem;
    }

    .testimonial-quote {
        font-size: 0.9rem;
    }

    /* --- Contact --- */
    .booking-card {
        padding: 1.4rem;
    }

    .booking-card h3 {
        font-size: 1.2rem;
    }

    .contact-item {
        padding: 1rem;
    }

    .map-container {
        height: 220px;
    }

    /* --- Footer --- */
    .footer {
        padding: 2.5rem 0 1rem;
    }

    .footer-about .logo-monogram {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    /* --- Modal --- */
    .modal-content {
        width: 95%;
        padding: 1.5rem 1.2rem;
    }

    .modal-content h3 {
        font-size: 1.3rem;
    }
}

/* ==========================================================================
   RESPONSIVE: VERY SMALL PHONE (max-width: 360px)
   ========================================================================== */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.7rem;
    }

    .hero-image-wrapper {
        max-width: 180px;
    }

    .hero-image {
        max-height: 180px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-number {
        font-size: 1.7rem;
    }

    .nav {
        width: 90%;
    }
}

/* Smooth scroll anchor offset for sticky header */
section {
    scroll-margin-top: var(--header-height-mobile, 70px);
}

@media (min-width: 769px) {
    section {
        scroll-margin-top: var(--header-height, 90px);
    }
}

