/* =========================================
   VARIABLES & TOKENS
   ========================================= */
:root {
    --color-primary: #a61e32; /* Burgundy Red */
    --color-primary-light: #bf2b42;
    --color-bg-main: #fdfbf7; /* Light Cream */
    --color-bg-alt: #f2e8d5; /* Warm Sand */
    --color-footer-bg: #4d3d34; /* Dark Brown */
    --color-footer-text: #d3c2a0; /* Light Gold */
    --color-text-dark: #333333;
    --color-text-light: #ffffff;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lora', serif;
    
    --transition-fast: 0.3s ease;
    --transition-slow: 0.5s ease-out;
    
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px rgba(0,0,0,0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-text-dark);
    background-color: var(--color-bg-main);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   FLOATING ACTIONS
   ========================================= */
.floating-actions {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
}

.floating-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.floating-btn:hover {
    transform: scale(1.1);
    background-color: var(--color-primary-light);
}

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
.main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    z-index: 90;
}

.logo-container h1 {
    font-size: 2.5rem;
    color: white;
    text-align: center;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    margin: 0;
}

.logo-container span {
    display: block;
    font-size: 1rem;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 5px;
    font-weight: 400;
    color: rgba(255,255,255,0.9);
}

.menu-toggle {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: transform var(--transition-fast);
}

.menu-toggle:hover {
    transform: scale(1.05);
}

/* Sidebar Menu */
.nav-menu {
    position: fixed;
    top: 0;
    right: -400px;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--color-bg-main);
    padding: 80px 40px;
    box-shadow: -10px 0 20px rgba(0,0,0,0.1);
    z-index: 1001;
    transition: right var(--transition-slow);
    display: flex;
    flex-direction: column;
}

.nav-menu.open {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-primary);
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.close-menu:hover {
    transform: rotate(90deg);
}

.nav-menu ul {
    margin-top: 40px;
}

.nav-menu li {
    margin-bottom: 25px;
}

.nav-menu a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-text-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 5px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-fast);
}

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

.nav-menu a:hover {
    color: var(--color-primary);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-fast);
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.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-content {
    max-width: 800px;
    padding: 0 20px;
    z-index: 1;
}

.hero-title {
    color: white;
    font-size: 4.5rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-text {
    font-size: 1.3rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.8);
    max-width: 700px;
    margin: 0 auto;
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    animation: bounce 2s infinite;
}

.scroll-down i {
    margin-top: 10px;
    font-size: 1.5rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-15px) translateX(-50%); }
    60% { transform: translateY(-7px) translateX(-50%); }
}

/* =========================================
   FEATURES SECTION (3 CARDS)
   ========================================= */
.features {
    background-color: var(--color-bg-alt);
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    height: 250px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 30px;
    text-align: center;
}

.card-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.card-content p {
    color: var(--color-text-dark);
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about {
    padding: 120px 0;
    background-color: var(--color-bg-main);
}

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

.about-content h2 {
    font-size: 3.5rem;
    margin-bottom: 30px;
}

.about-content .lead {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
}

.highlights-list {
    margin-top: 30px;
}

.highlights-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.highlights-list i {
    color: var(--color-primary);
    margin-top: 5px;
}

.about-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.circle-image-wrapper {
    position: relative;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    z-index: 1;
}

.circle-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
}

.circle-decoration {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    z-index: -1;
    transition: transform var(--transition-slow);
}

.circle-image-wrapper:hover .circle-decoration {
    transform: translate(40px, 40px);
}

/* =========================================
   FOOTER & PRE-FOOTER
   ========================================= */
.service-strip {
    background-color: var(--color-primary);
    color: white;
    padding: 30px 0;
}

.services-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.service-item i {
    font-size: 1.8rem;
    color: var(--color-bg-alt);
}

.main-footer {
    background-color: var(--color-footer-bg);
    color: var(--color-footer-text);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1.2fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.main-footer h4 {
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.footer-nav ul li {
    margin-bottom: 12px;
}

.footer-nav a:hover {
    color: white;
}

.footer-contact address {
    font-style: normal;
    line-height: 1.8;
}

.footer-contact i {
    color: var(--color-primary-light);
    width: 25px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--color-footer-text);
    padding: 10px 20px;
    border-radius: 30px;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background-color: white;
    color: var(--color-footer-bg);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a:hover {
    text-decoration: underline;
}

/* =========================================
   ANIMATIONS & RESPONSIVE
   ========================================= */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards ease-out;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Reveals (handled by JS) */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.reveal-up.active, .reveal-left.active, .reveal-right.active {
    opacity: 1;
    transform: translate(0,0);
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        margin-top: 50px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .floating-actions {
        display: none; /* Hide on mobile to save space */
    }
    
    .logo-container h1 {
        font-size: 1.8rem;
    }
    
    .about-content h2 {
        font-size: 2.5rem;
    }
    
    .circle-image-wrapper {
        width: 100%;
        max-width: 350px;
        height: 350px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* =========================================
   COOKIE BANNER
   ========================================= */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--color-bg-main);
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.15);
    z-index: 2000;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    transition: bottom var(--transition-slow);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    text-align: center;
    max-width: 800px;
}

.cookie-content h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.cookie-content p {
    font-size: 0.95rem;
    color: var(--color-text-dark);
}

.cookie-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.cookie-actions .btn {
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-body);
    transition: all var(--transition-fast);
}

.cookie-actions .btn-primary {
    background-color: var(--color-primary);
    color: white;
}

.cookie-actions .btn-primary:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.cookie-actions .btn-secondary {
    background-color: transparent;
    color: var(--color-text-dark);
    border: 2px solid var(--color-primary);
}

.cookie-actions .btn-secondary:hover {
    background-color: rgba(166, 30, 50, 0.05); /* very light primary variant */
}

@media (min-width: 768px) {
    .cookie-banner {
        flex-direction: row;
        justify-content: space-between;
        padding: 25px 50px;
    }
    
    .cookie-content {
        text-align: left;
    }
}
