/* 
===============================================
THE LOCH & THE TYNE - REDESIGN STYLESHEET
===============================================
*/

:root {
    /* Color Palette */
    --clr-primary: #1F2E23;     /* Deep Gastropub Green */
    --clr-secondary: #2C3E2E;
    --clr-gold: #CBA052;        /* Luxury Gold Accent */
    --clr-gold-hover: #b38b44;
    --clr-dark: #121212;
    --clr-light: #F7F5F0;       /* Soft Off-White for Background */
    --clr-white: #FFFFFF;
    --clr-text: #333333;
    --clr-text-muted: #666666;

    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Layout */
    --container-width: 1200px;
    --border-radius: 4px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--clr-primary);
}

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

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.full-width { width: 100%; }

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.section-desc {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--clr-text-muted);
}

/* ==============================================
   BUTTONS
=============================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid transparent;
    cursor: pointer;
    border-radius: 0;
    transition: all 0.4s ease;
}

.btn-primary {
    background-color: var(--clr-primary);
    color: var(--clr-white);
    border-color: var(--clr-primary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--clr-primary);
}

.btn-gold {
    background-color: var(--clr-gold);
    color: var(--clr-white);
    border-color: var(--clr-gold);
}

.btn-gold:hover {
    background-color: transparent;
    color: var(--clr-gold);
}

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

.btn-outline:hover {
    background-color: var(--clr-primary);
    color: var(--clr-white);
}

/* ==============================================
   SPECIFIC BUTTON OVERRIDES
=============================================== */
/* Header Reservation Button */
.header-action .btn-primary {
    padding: 10px 24px;
    font-size: 0.8rem;
    background-color: var(--clr-primary);
    color: var(--clr-white);
    border: 1px solid var(--clr-primary);
}

.header-action .btn-primary:hover {
    background-color: transparent;
    color: var(--clr-primary);
    border: 1px solid var(--clr-primary);
}

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

.header.transparent .header-action .btn-primary:hover {
    background-color: var(--clr-primary);
    color: var(--clr-white);
    border: 1px solid var(--clr-primary);
}

/* Hero Book Now Button */
.hero-content .btn-gold {
    background-color: transparent;
    color: var(--clr-white);
    border: 1px solid var(--clr-white);
}

.hero-content .btn-gold:hover {
    background-color: var(--clr-gold);
    color: var(--clr-white);
    border: 1px solid var(--clr-gold);
}

/* ==============================================
   HEADER
=============================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    z-index: 1000;
    padding: 10px 0;
    transition: background-color 0.4s ease, padding 0.4s ease, border-bottom 0.4s ease;
}

.header.transparent {
    background-color: transparent;
    backdrop-filter: none;
    border-bottom: 1px solid transparent;
    padding: 20px 0;
}

.header-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo-wrapper {
    position: relative;
    width: 200px;
    height: 60px;
}

.logo {
    height: 60px;
    object-fit: contain;
    transition: transform 0.4s ease, filter 0.4s ease;
    transform-origin: top left;
    filter: brightness(1) invert(0);
}

/* Enlarged and white logo when transparent */
.header.transparent .logo {
    transform: scale(2) translateY(10px);
    filter: brightness(0) invert(1);
}

/* Change nav link colors based on transparent state */
.header.transparent .nav-links a {
    color: var(--clr-white);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}
.header.transparent .map-icon {
    color: var(--clr-white);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--clr-primary);
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--clr-gold) !important;
}

.header-action {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.map-icon {
    font-size: 1.25rem;
    color: var(--clr-primary);
    transition: color 0.3s ease;
}
.map-icon:hover {
    color: var(--clr-gold);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--clr-primary);
    transition: var(--transition);
}
.header.transparent .mobile-toggle span {
    background-color: var(--clr-white);
}

/* ==============================================
   HERO SECTION
=============================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Removed margin-top to allow header overlap */
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

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

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--clr-white);
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 5rem;
    color: var(--clr-white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* ==============================================
   OUR VENUES SECTION
=============================================== */
.venues-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--clr-white);
}

.venues-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-top: 3rem;
}

.venue-card {
    position: relative;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 250px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.venue-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

.venue-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.venue-card:hover .venue-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0) 30%, rgba(0,0,0,0.9) 100%);
}

.venue-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
    color: var(--clr-white);
}

.venue-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--clr-white);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.venue-link-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--clr-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==============================================
   RESERVATION FORM
=============================================== */
.reservation-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--clr-light);
    position: relative;
    background-image: url('images/Hero_1.avif');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.res-bg-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(31, 46, 35, 0.85); /* Deep green transparent overlay for contrast */
}

.reservation-box {
    background-color: var(--clr-white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.reservation-title {
    text-align: center;
    margin-bottom: 2rem;
}

.reservation-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    align-items: end;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--clr-primary);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--clr-text);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--clr-gold);
}

.submit-group {
    padding-bottom: 2px;
}

/* ==============================================
   OUR MENUS SECTION & MODAL
=============================================== */
.menus-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--clr-white);
}

.in-page-tabs {
    margin-top: 3rem;
}

.in-page-content {
    margin-bottom: 3rem;
}

.menu-modal {
    display: none; 
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.menu-modal.open {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--clr-white);
    padding: 3rem;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-modal {
    color: #aaa;
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--clr-primary);
    text-decoration: none;
    cursor: pointer;
}

.menu-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid #EAE6DF;
    padding-bottom: 10px;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 10px 20px;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--clr-text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.tab-btn:hover {
    color: var(--clr-primary);
}

.tab-btn.active {
    color: var(--clr-primary);
    border-bottom-color: var(--clr-gold);
}

.tab-content-container {
    max-width: 900px;
    margin: 0 auto;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

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

.demo-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.demo-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--clr-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.demo-img {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: var(--border-radius);
    background-size: cover;
    background-position: center;
    background-color: var(--clr-light);
}

.demo-info h4 {
    margin-bottom: 0.25rem;
    font-size: 1.2rem;
}

.demo-info p {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
    margin: 0;
}

.pdf-download {
    text-align: center;
    margin-top: 2rem;
}

/* ==============================================
   PRIVATE DINING SECTION
=============================================== */
.private-dining-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--clr-light);
}

.dining-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.dining-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.highlight-text {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--clr-primary);
    margin: 2rem 0;
    font-style: italic;
}

/* ==============================================
   SHOP SECTION
=============================================== */
.shop-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--clr-white);
}

.shop-section .container {
    max-width: 1400px;
}

.shop-editorial-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    grid-template-rows: 350px 350px;
    gap: 1.5rem;
    margin-top: 3rem;
}

.shop-editorial-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    text-decoration: none;
    display: flex;
    align-items: flex-end;
    transition: all 0.5s ease;
    cursor: pointer;
    background-color: var(--clr-primary);
}

.shop-editorial-card.featured {
    grid-row: span 2;
}

.shop-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
    z-index: 1;
}

.shop-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(31, 46, 35, 0.95) 0%, rgba(31, 46, 35, 0.2) 60%, transparent 100%);
    z-index: 2;
    transition: background 0.5s ease;
}

.shop-editorial-card:hover .shop-bg {
    transform: scale(1.08);
}

.shop-editorial-card:hover .shop-overlay {
    background: linear-gradient(to top, rgba(31, 46, 35, 1) 0%, rgba(31, 46, 35, 0.4) 70%, transparent 100%);
}

.shop-content {
    position: relative;
    z-index: 3;
    padding: 2.5rem;
    color: var(--clr-white);
    width: 100%;
    transform: translateY(20px);
    transition: transform 0.5s ease;
}

.shop-editorial-card:hover .shop-content {
    transform: translateY(0);
}

.shop-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--clr-gold);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.shop-content h3 {
    font-size: 2rem;
    color: var(--clr-white);
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.shop-editorial-card.featured .shop-content h3 {
    font-size: 3rem;
}

.shop-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    display: block;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s ease;
}

.shop-editorial-card.featured:hover .shop-content p {
    max-height: 60px;
    opacity: 1;
}

.shop-link-btn {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--clr-white);
    font-weight: 500;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.shop-editorial-card:hover .shop-link-btn {
    color: var(--clr-gold);
    opacity: 1;
}

/* ==============================================
   ABOUT SECTION
=============================================== */
.about-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--clr-light);
    color: var(--clr-primary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-section .section-title {
    color: var(--clr-primary);
    margin-bottom: 2rem;
}

.about-typography {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.lead-text {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--clr-primary);
    line-height: 1.4;
    font-style: italic;
}

.about-typography p {
    color: var(--clr-text);
    font-size: 1.05rem;
}

/* ==============================================
   MARQUEE
=============================================== */
.marquee-wrapper {
    background-color: var(--clr-white);
    padding: 3rem 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.marquee-track {
    display: flex;
    gap: 6rem;
    align-items: center;
    animation: scrollMarquee 40s linear infinite;
    white-space: nowrap;
}

.marquee-item img {
    height: 90px;
    max-width: 180px;
    object-fit: contain;
    opacity: 0.7;
    filter: grayscale(100%) contrast(1.2);
    transition: all 0.4s ease;
}

.marquee-item img:hover {
    opacity: 1;
    filter: grayscale(0%) contrast(1);
    transform: scale(1.05);
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==============================================
   FOOTER
=============================================== */
.footer {
    background-color: var(--clr-primary);
    color: var(--clr-white);
    padding: var(--spacing-xl) 0 2rem;
}

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

.footer-logo {
    max-width: 150px;
    filter: brightness(0) invert(1);
}

.footer-heading {
    color: var(--clr-gold);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-col p {
    color: #AAA;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-col a {
    color: #AAA;
}

.footer-col a:hover {
    color: var(--clr-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.collection-branding {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
}

/* Made collection.png larger */
.collection-logo {
    height: 70px; 
    filter: brightness(0) invert(1);
}

/* Restyled social media icons for premium branding */
.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: var(--clr-white);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--clr-gold);
    border-color: var(--clr-gold);
    transform: translateY(-3px);
}

/* ==============================================
   RESPONSIVE DESIGN
=============================================== */
@media (max-width: 992px) {
    .dining-grid, .about-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

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

    .shop-editorial-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .shop-editorial-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .shop-editorial-card.featured, .shop-editorial-card {
        min-height: 400px;
        grid-row: span 1;
    }
    .header-container {
        padding: 10px 20px;
    }

    .main-nav, .header-action {
        display: none; /* simple mobile hide for now */
    }

    .mobile-toggle {
        display: flex;
    }

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

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

    .footer-logo-col {
        display: flex;
        justify-content: center;
    }

    .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
}

.full-menu-list { text-align: left; margin-bottom: 2rem; }
.full-menu-list h3 { font-size: 1.25rem; color: var(--clr-gold); margin-top: 2rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 2px; }
.full-menu-list ul { list-style: none; padding: 0; }
.full-menu-list li { padding: 0.75rem 0; border-bottom: 1px solid rgba(0,0,0,0.05); display: flex; flex-direction: column; font-size: 1.05rem; }
.full-menu-list li .top-row { display: flex; justify-content: space-between; width: 100%; }
.full-menu-list li .price { font-weight: 600; color: var(--clr-primary); }
.full-menu-list li .desc { font-size: 0.9rem; color: #666; margin-top: 0.25rem; }

.social-links { display: flex; justify-content: center; gap: 1.5rem; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 45px; height: 45px; background-color: transparent; border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; color: var(--clr-white); font-size: 1.2rem; transition: all 0.3s ease; text-decoration: none; }
.social-links a:hover { background-color: var(--clr-gold); border-color: var(--clr-gold); transform: translateY(-3px); }

/* ==============================================
   CHATBOT ASSISTANT
=============================================== */
.chatbot-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
}

.chatbot-toggle {
    background-color: var(--clr-gold);
    color: var(--clr-white);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    background-color: var(--clr-primary);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background-color: var(--clr-white);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    overflow: hidden;
    display: none;
    flex-direction: column;
    transform-origin: bottom right;
    animation: chatPop 0.3s ease;
}

@keyframes chatPop {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.chat-window.active {
    display: flex;
}

.chat-header {
    background-color: var(--clr-primary);
    color: var(--clr-white);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h4 {
    margin: 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-chat {
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

.close-chat:hover {
    color: var(--clr-gold);
}

.chat-body {
    padding: 20px;
    min-height: 250px;
    max-height: 350px;
    overflow-y: auto;
    background-color: #f4f6f5;
}

.chat-message.bot p {
    background-color: var(--clr-white);
    color: var(--clr-text);
    padding: 12px 15px;
    border-radius: 12px 12px 12px 2px;
    font-size: 0.95rem;
    margin: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.chat-input-area {
    display: flex;
    padding: 15px;
    border-top: 1px solid #eee;
    background-color: var(--clr-white);
}

.chat-input-area input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 10px 15px;
    font-size: 0.9rem;
    outline: none;
}

.chat-input-area .send-btn {
    background: none;
    border: none;
    color: var(--clr-gold);
    font-size: 1.2rem;
    margin-left: 10px;
    cursor: pointer;
}


/* ==============================================
   PROFESSIONAL ANIMATIONS & HARDWARE ACCELERATION
=============================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform; /* Hardware acceleration for lightspeed loading */
}

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

/* Stagger Delays for grid layouts */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Hero Animations (Triggers instantly on load) */
@keyframes heroFadeUp {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.hero-title {
    opacity: 0;
    animation: heroFadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.1s;
    will-change: opacity, transform;
}

.hero-subtitle {
    opacity: 0;
    animation: heroFadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.3s;
    will-change: opacity, transform;
}

.hero-content .btn {
    opacity: 0;
    animation: heroFadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.5s;
    will-change: opacity, transform;
}
