/* --- Variables & Reset --- */
:root {
    /* Colors based on the mockup */
    --clr-primary: #8C3833; /* The distinctive rust red */
    --clr-primary-hover: #702a26;
    --clr-dark: #2C2C2C;
    --clr-darker: #1A1A1A;
    --clr-light: #F9F7F5; /* Slight beige background */
    --clr-white: #FFFFFF;
    --clr-text-main: #333333;
    --clr-text-muted: #666666;
    --clr-border: #E5E5E5;
    
    /* Typography */
    --font-main: 'Inter', sans-serif;
    
    /* Spacing */
    --section-pad: 80px 0;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--clr-text-main);
    line-height: 1.6;
    background-color: var(--clr-white);
}

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

ul {
    list-style: none;
}

/* --- Typography utilities --- */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--clr-darker);
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -1px; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -0.5px; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px; color: var(--clr-text-muted); font-weight: 600;}

p { margin-bottom: 1rem; }
.text-primary { color: var(--clr-primary); }
.text-white { color: var(--clr-white); }
.text-center { text-align: center; }
.mb-large { margin-bottom: 3rem; }
.mt-small { margin-top: 1rem; }
.mt-medium { margin-top: 2rem; }

/* --- Layout Utilities --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: var(--section-pad);
}

.bg-light { background-color: var(--clr-light); }
.bg-dark { background-color: var(--clr-dark); }
.bg-primary { background-color: var(--clr-primary); }

/* --- Buttons & Badges --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

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

.btn-outline-light {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--clr-white);
}
.btn-outline-light:hover {
    background-color: var(--clr-white);
    color: var(--clr-darker);
}

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

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

.badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.badge-primary { background-color: var(--clr-primary); color: var(--clr-white); }
.badge-light { background-color: #f0ebe6; color: var(--clr-primary); }
.badge-light-outline { border: 1px solid rgba(255,255,255,0.2); color: #c9a78f; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--clr-darker);
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 1rem;
}
.link-arrow:hover { gap: 0.8rem; color: var(--clr-primary); }

/* --- Navigation --- */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1574966739987-65e386c1c87e?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    color: var(--clr-white);
    display: flex;
    flex-direction: column;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    position: relative;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-links a:hover { color: #d4d4d4; }

/* --- Hero Content --- */
.hero-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 800px;
}

.hero-content h1 { color: var(--clr-white); margin-bottom: 1.5rem; }
.hero-content p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 2rem; max-width: 600px; }

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

.hero-scroll {
    text-align: center;
    padding-bottom: 2rem;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

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

/* --- Testimonials --- */
.stars { color: #e5b364; margin-bottom: 1rem; }
.stars.small { font-size: 0.8rem; }

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

.testimonial-card {
    background: var(--clr-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    text-align: left;
}

.testimonial-card p {
    font-size: 0.95rem;
    color: var(--clr-text-main);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 0.7rem;
}
.bg-gray { background-color: #666; }

/* --- Feature Sections (What We Do Best) --- */
.feature-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 5rem;
}

.feature-row:last-child { margin-bottom: 0; }

.feature-image-wrapper {
    flex: 1;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.feature-image-wrapper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

.image-badge {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: var(--clr-primary);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}
.bg-dark-badge { background-color: var(--clr-dark); }

.feature-content {
    flex: 1;
}

.feature-content .label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.feature-content p { color: var(--clr-text-muted); }

/* --- Dark Section --- */
.dark-section {
    background-color: var(--clr-darker);
}

.overlap-badge { overflow: visible; }
.date-badge {
    position: absolute;
    top: -1.5rem;
    right: -1.5rem;
    background: var(--clr-primary);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 1.2;
}
.date-badge .month { font-size: 1.2rem; font-weight: 700; }
.date-badge .day { font-size: 0.6rem; font-weight: 500; letter-spacing: 1px; }

.dark-section .feature-content p { color: #a0a0a0; }
.links-group { display: flex; gap: 1.5rem; margin-top: 1rem; font-size: 0.9rem; color: #c9a78f; text-decoration: underline;}
.button-group { display: flex; gap: 1rem; }

/* --- Community Section (Floating UI) --- */
.ui-overlap-wrapper { position: relative; overflow: visible; }
.floating-ui {
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    display: flex;
    gap: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 80%;
    justify-content: center;
}

.ui-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.ui-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.icon-list { display: flex; gap: 2rem; }
.list-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; font-weight: 600;}

/* --- CTA Banner --- */
.cta-banner {
    background-color: var(--clr-primary);
    padding: 4rem 0;
}
.cta-banner h2 { color: white; margin-bottom: 0.5rem; }
.cta-banner p { opacity: 0.9; }
.justify-center { justify-content: center; }

/* --- Footer --- */
.footer {
    background-color: var(--clr-darker);
    color: #a0a0a0;
    padding-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer h4 { color: white; font-size: 1rem; margin-bottom: 1.5rem; }

.brand-col p { font-size: 0.9rem; margin: 1rem 0; max-width: 250px; }
.social-links { display: flex; gap: 1rem; }
.social-links a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
.social-links a:hover { background: var(--clr-primary); }

.footer-col ul li { margin-bottom: 0.8rem; font-size: 0.9rem; }
.footer-col ul a:hover { color: white; }

.hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
    padding-bottom: 0.4rem;
}
.btn-text { color: var(--clr-primary); font-size: 0.85rem; display: block;}

.contact-info li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info i { color: var(--clr-primary); margin-top: 0.2rem; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    font-size: 0.8rem;
}
.legal-links { display: flex; gap: 1.5rem; }

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .feature-row, .feature-row.reverse {
        flex-direction: column;
        gap: 2rem;
    }
    .feature-image-wrapper { width: 100%; }
    .feature-content { text-align: center; }
    .feature-content .label, .link-arrow { justify-content: center; }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links, .navbar .btn { display: none; } /* Hide standard nav on mobile */
    .hero-content h1 { font-size: 2.5rem; }
    
    .testimonial-grid { grid-template-columns: 1fr; }
    
    .button-group { flex-direction: column; }
    
    .date-badge { top: 1rem; right: 1rem; }
    .floating-ui { position: static; transform: none; width: 100%; justify-content: space-around; margin-top: 1rem;}
    .ui-overlap-wrapper { background: white; padding-bottom: 1rem; border-radius: 16px; box-shadow: 0 4px 10px rgba(0,0,0,0.05);}
    
    .footer-grid { grid-template-columns: 1fr; gap: 2rem;}
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center;}
}
