/* styles.css - ByRostova Premium Styles */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --primary-color: #2F4F7A; /* Slate Blue */
    --secondary-color: #1A1A1A; /* Charcoal */
    --accent-color: #B5955C; /* Warm Gold */
    --bg-color: #F9F9F7; /* Off-White */
    --white: #FFFFFF;
    
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
    
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-soft: 0 8px 32px rgba(47, 79, 122, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-color);
    color: var(--secondary-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

/* Glassmorphism Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-soft);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 40px;
    width: auto;
}

nav.main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav.main-nav a {
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

nav.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition-smooth);
}

nav.main-nav a:hover::after {
    width: 100%;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 0.5rem;
}

.lang-switcher a {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
    border: 1px solid transparent;
    cursor: pointer;
    background: transparent;
}

.lang-switcher a:hover, .lang-switcher a.active {
    background: var(--primary-color);
    color: var(--white);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--primary-color);
    color: var(--white);
    font-family: var(--font-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(47, 79, 122, 0.2);
}

.btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(181, 149, 92, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 80px; /* Offset for fixed header */
    display: flex;
    align-items: center;
    position: relative;
    background: url('/hero-bg-hq.webp') no-repeat center center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Lighter overlay to show the 4k image clearly */
    background: linear-gradient(to right, rgba(20, 30, 48, 0.4) 0%, rgba(36, 59, 85, 0.2) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 700px;
    padding: 0 5%;
    color: var(--white);
    animation: fadeInUp 1s ease forwards;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
    font-weight: 500;
}

/* Services Grid */
.section {
    padding: 6rem 5%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 1rem auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(47, 79, 122, 0.15);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--accent-color);
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.price-list {
    text-align: left;
    margin-top: auto; /* pushes list to bottom */
    width: 100%;
}

.price-tag {
    font-weight: 500;
    color: var(--secondary-color);
    font-size: 0.95rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}
.price-tag span.price-val {
    font-weight: 700;
    color: var(--primary-color);
}
.price-tag:last-child {
    border-bottom: none;
}

/* Booking Section */
.booking-section {
    background-color: var(--primary-color);
    color: var(--white);
}

.booking-section .section-title {
    color: var(--white);
}

.booking-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 12px;
    padding: 3rem;
    color: var(--secondary-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(47, 79, 122, 0.1);
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(47, 79, 122, 0.12);
}

.blog-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--primary-color);
}

.blog-content {
    padding: 1.5rem;
}

.blog-date {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 0.5rem;
}

.blog-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* Chatbot */
.chatbot-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.chat-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(181, 149, 92, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}

.chat-btn:hover {
    transform: scale(1.1);
}

.chat-window {
    display: none;
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    height: 400px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    flex-direction: column;
    overflow: hidden;
}

.chat-window.active {
    display: flex;
    animation: slideUp 0.3s ease;
}

.chat-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-body {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.chat-msg {
    max-width: 80%;
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

.msg-bot {
    background: #F4F4F4;
    align-self: flex-start;
}

.msg-user {
    background: var(--primary-color);
    color: var(--white);
    align-self: flex-end;
}

.chat-input {
    display: flex;
    border-top: 1px solid #eee;
    padding: 0.5rem;
}

.chat-input input {
    flex: 1;
    border: none;
    padding: 0.5rem;
    outline: none;
    font-family: var(--font-primary);
}

.chat-input button {
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    padding: 0 0.5rem;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 4rem 5% 2rem;
    text-align: center;
}

/* Page Headers (like Blog) */
.page-hero {
    background: var(--primary-color);
    color: var(--white);
    padding: 120px 5% 60px;
    text-align: center;
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 15px 5%;
        gap: 12px;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    nav.main-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        width: 100%;
    }
    nav.main-nav a {
        font-size: 0.85rem;
    }
    .lang-switcher {
        justify-content: center;
        flex-wrap: wrap;
    }
    .hero {
        padding-top: 160px; /* Increased offset so the thicker header doesnt overlap title */
    }
}


/* Elegant Chatbot Button Override */
button#openChat {
    background: #2F4F7A; /* Deep Slate Blue */
    color: white;
    width: 60px;
    height: 60px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(47, 79, 122, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
button#openChat:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(47, 79, 122, 0.6);
}


/* Premium Multi-Column Footer Architecture */
.premium-footer {
    background: var(--secondary-color);
    color: #FFFFFF;
    padding: 4rem 5% 1rem;
    font-family: var(--font-primary);
    border-top: 4px solid var(--accent-color);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
    text-align: left;
}
.footer-col h4 {
    font-family: Arial, sans-serif;
    color: #FFFFFF;
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 1rem;
}
.footer-logo .brand-white { color: #FFFFFF; }
.footer-logo .brand-blue { color: var(--primary-color); }
.footer-col p {
    color: #BBBBBB;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li { margin-bottom: 0.8rem; }
.footer-links a {
    color: #BBBBBB;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}
.footer-links a:hover {
    color: var(--accent-color);
}
.social-row {
    display: flex;
    gap: 15px;
    margin-top: 1.5rem;
}
.social-link {
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2A2A2A;
    transition: 0.3s;
}
.social-link:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}
.footer-bottom {
    border-top: 1px solid #333333;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: #888888;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .social-row { justify-content: center; }
}

/* --- Calendar & B2C Styles --- */
.b2c-container { max-width: 1000px; margin: 150px auto 100px; padding: 20px; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin: 40px 0; }
.price-card { background: white; padding: 25px; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); text-align: center; border-top: 4px solid var(--primary-color); }
.price-card h4 { margin-bottom: 15px; color: var(--secondary-color); font-size: 1.1rem; }
.price-card .amount { font-size: 1.5rem; font-weight: bold; color: var(--primary-color); }

.calendar-wrapper { background: white; padding: 30px; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.08); margin-bottom: 40px; display: flex; flex-wrap: wrap; gap: 40px; color: var(--secondary-color); }
.calendar-left { flex: 1; min-width: 300px; }
.calendar-right { flex: 1; min-width: 300px; display: none; border-left: 1px solid #eee; padding-left: 40px; color: var(--secondary-color); }

.cal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.cal-btn { background: none; border: 1px solid #ddd; padding: 5px 15px; border-radius: 4px; cursor: pointer; transition: 0.2s; color: var(--secondary-color); }
.cal-btn:hover { background: #f0f0f0; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; text-align: center; }
.cal-day-name { font-weight: bold; color: #888; font-size: 0.9rem; margin-bottom: 10px; }
.cal-day { padding: 10px; border-radius: 8px; cursor: pointer; transition: 0.2s; border: 1px solid transparent; color: var(--secondary-color); }
.cal-day:hover:not(.disabled) { background: #f5f5f5; border-color: #ddd; }
.cal-day.active { background: var(--primary-color); color: white !important; }
.cal-day.disabled { color: #ccc !important; cursor: not-allowed; }

.time-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; color: var(--secondary-color); }
.time-slot { padding: 10px; border: 1px solid #ddd; border-radius: 8px; text-align: center; cursor: pointer; transition: 0.2s; color: var(--secondary-color); }
.time-slot:hover { border-color: var(--primary-color); color: var(--primary-color); }
.time-slot.active { background: var(--primary-color); color: white !important; border-color: var(--primary-color); }

.b2c-form-group { margin-bottom: 20px; }
.b2c-form-group label { display: block; margin-bottom: 8px; font-weight: bold; color: var(--secondary-color); }
.b2c-form-control { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 6px; font-family: 'Inter', sans-serif; }
.b2c-form-control.disabled { background-color: #f5f5f5; cursor: not-allowed; }
.booking-form-area { display: none; background: #fafafa; padding: 30px; border-radius: 12px; border: 1px solid #eee; }

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}
.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}
.lightbox.active img {
    transform: scale(1);
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    transition: 0.2s;
}
.lightbox-close:hover {
    color: var(--primary-color);
}
