/* Base & Reset */
:root {
    /* Logo Colors derived from image */
    --brand-red: #8B3232;
    /* The ribbon red */
    --brand-yellow: #F2AF29;
    /* The star/text gold */
    --brand-brown: #4A3C31;
    /* The dark details */

    --primary-color: var(--brand-red);
    /* Use Red as primary brand color */
    --primary-dark: #6D2424;
    --secondary-color: var(--brand-brown);
    /* Use dark brown for text/headings */
    --accent-color: var(--brand-yellow);

    --bg-color: #FDFBF7;
    /* Keep the creamy background */
    --text-color: #2C221C;
    /* Very dark brown for body text */
    --light-text: #6B5D52;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    /* More breathing room on small and large screens */
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 38px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
    cursor: pointer;
    letter-spacing: 0.3px;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    margin-left: 15px;
}

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

.btn-white {
    background-color: var(--white);
    color: var(--secondary-color);
    padding: 15px 40px;
    font-size: 1.1rem;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
    /* Back to narrow padding */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #FDFBF7 !important;
    /* Force opacity */
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.navbar.scrolled {
    background: rgba(253, 251, 247, 0.98);
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

/* Override container for navbar to allow full width alignment */
.navbar .container {
    max-width: 100%;
    padding: 0 40px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: 60px;
    /* Definitive height for alignment */
}

.nav-links.left-menu {
    flex: 1;
    /* Takes up available space on left */
    display: flex;
    justify-content: flex-start;
    gap: 30px;
}

/* Center Logo - Absolutely positioned to ensure true center */
.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    /* Adjust based on svg aspect    width: 250px; */
    height: 120px;
    /* Fixed height for the container to hang out */
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* Align to top so it hangs down */
    top: -5px;
    /* Gave it a little space from top as requested */
    z-index: 1001;
    /* Ensure above header border */
    background: transparent;
}

.logo img {
    width: 130px;
    /* Slightly larger logo */
    height: 130px;
    object-fit: contain;
    max-height: none;
    background: radial-gradient(circle, #ffffff 60%, transparent 61%);
    /* Quick fix mask if svg has corners, or just white circle backing */
    border-radius: 50%;
    /* Helper for the circular shape request */
    padding: 5px;
    /* Slight padding inside the circle */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    /* Shadow for depth */
    margin-top: 5px;
}

.right-menu {
    flex: 1;
    /* Takes up available space on right */
    display: flex;
    justify-content: flex-end;
}

.nav-links a {
    font-weight: 500;
    color: var(--secondary-color);
    font-size: 0.85rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
}

/* Link hover effect line */
.nav-links a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-color);
    /* Gold underline */
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-nav):hover::after {
    width: 100%;
}

.btn-nav {
    background-color: var(--secondary-color);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 0.9rem !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 600 !important;
}

.btn-nav:hover {
    background-color: var(--primary-color) !important;
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    /* Adjust height for visual impact */
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    background: url('165b5177c402e0.png') no-repeat center center/cover;
    overflow: hidden;
    overflow: hidden;
    padding-top: 220px;
    /* Greatly increased spacing from header */
    padding-bottom: 80px;
}

/* Dark overlay for text readability */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Semi-transparent black overlay */
    z-index: 1;
}

/* Remove old abstract shapes */
.hero::before {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-left: 0;
    /* Ensures left alignment within container */
    /* Container class handles the max-width: 1200px and centering on screen, 
       but we want the text block within that to be left-aligned */
}

/* Fix: The container has both classes in HTML, so we shouldn't make its children flex row */
.hero .container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    z-index: 2;
    /* Ensure content is above overlay */
}

.badge {
    display: inline-block;
    background: rgba(139, 50, 50, 0.85);
    /* Brand Red background */
    backdrop-filter: blur(5px);
    color: #fff;
    padding: 8px 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.05;
    color: #ffffff;
    /* White text */
    margin-bottom: 30px;
    font-weight: 800;
    letter-spacing: -2px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.9);
    /* Slightly transparent white */
    margin-bottom: 45px;
    max-width: 600px;
    /* Limits paragraph width capability for readability */
    line-height: 1.7;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-btns {
    display: flex;
}

.hero-btns .btn-outline {
    border-color: #ffffff;
    color: #ffffff;
}

.hero-btns .btn-outline:hover {
    background-color: #ffffff;
    color: var(--secondary-color);
}

/* Features */
.features {
    padding: 120px 0;
    background-color: var(--white);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px;
}

.feature-card {
    background: transparent;
    padding: 20px;
    border-radius: 0;
    box-shadow: none;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.icon-box {
    margin-bottom: 25px;
    color: var(--brand-red);
    /* Red Icons */
    display: inline-flex;
    padding: 20px;
    background: #fff;
    border: 2px solid var(--accent-color);
    /* Gold border for icons */
    border-radius: 50%;
}

.feature-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.25rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--light-text);
    font-size: 0.95rem;
    max-width: 250px;
    margin: 0 auto;
}

/* About */
.about {
    padding: 120px 0;
    background-color: #FDFBF7;
}

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

.about-text h2 {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.about-text p {
    color: var(--light-text);
    margin-bottom: 35px;
    font-size: 1.15rem;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    padding: 16px 48px;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(212, 160, 23, 0.2);
}

/* Products CTA Redesign */
.products-cta {
    padding: 100px 0;
    /* Use a warm gradient background for the whole section to differentiate it */
    background: linear-gradient(135deg, #fffbf0 0%, #fff 100%);
}

/* Specific styling for the inner container to ensure centering */
.products-cta .container {
    background: #ffffff;
    max-width: 900px !important;
    /* Force a narrower width for the card */
    padding: 60px 40px;
    border-radius: 30px;
    text-align: center !important;
    /* Force centering */
    box-shadow: 0 20px 60px rgba(212, 160, 23, 0.15);
    /* Stronger shadow */
    border: 1px solid rgba(212, 160, 23, 0.1);
    position: relative;
    overflow: visible;
    /* changed to visible if we want fancy elements popping out, or hidden if not */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Flex centering backup */
    justify-content: center;
}

.products-cta h2 {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.products-cta p {
    font-size: 1.25rem;
    color: var(--light-text);
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.6;
}

/* Custom button styling for this section */
.products-cta .btn {
    background-color: var(--secondary-color);
    /* Dark button for contrast */
    color: var(--white);
    padding: 18px 50px;
    font-size: 1.15rem;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 20px rgba(93, 64, 55, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.products-cta .btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(212, 160, 23, 0.3);
}

/* Contact */
.contact {
    padding: 120px 0;
    background-color: var(--white);
}

.contact-box {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.contact-box h2 {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.info-card {
    padding: 40px;
    background: #FDFBF7;
    border-radius: 20px;
    transition: var(--transition);
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid rgba(139, 50, 50, 0.1);
}

.info-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.info-icon {
    color: var(--brand-red);
    margin-bottom: 20px;
}

.info-card h3 {
    font-size: 1.4rem;
    color: var(--brand-brown);
    margin-bottom: 15px;
}

.address,
.phone {
    font-size: 1.1rem;
    color: var(--light-text);
    line-height: 1.6;
}

.phone {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* Footer */
footer {
    padding: 40px 0;
    border-top: 1px solid #eee;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    text-align: left;
}

.credit {
    font-size: 0.85rem;
    color: var(--light-text);
    margin-top: 5px;
}

.credit a {
    color: var(--secondary-color);
    font-weight: 600;
    transition: var(--transition);
}

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

.socials a {
    color: var(--secondary-color);
    margin-left: 20px;
    font-weight: 600;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {

    /* Mobile Header & Nav Improvements */
    .navbar {
        padding: 5px 0;
        /* Smaller header */
        overflow: hidden;
        /* Prevent horizontal scroll triggers from header */
    }

    .navbar .container {
        padding: 0 20px;
        /* Reduced side padding */
    }

    .nav-container {
        height: 50px;
        /* Smaller container */
    }

    .hamburger {
        display: block;
        cursor: pointer;
        order: -1;
        /* Move to left */
        margin-left: 0;
        z-index: 1002;
        /* Above everything */
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--secondary-color);
        margin: 5px 0;
        transition: all 0.3s ease-in-out;
        transform-origin: center;
    }

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

    .hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }

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

    .logo {
        position: absolute;
        left: auto !important;
        right: 15px !important;
        /* Fixed distance from right edge */
        transform: none !important;
        top: 50% !important;
        /* Center vertically */
        transform: translateY(-50%) !important;
        height: 50px;
        /* Constrained height */
        width: 50px;
        /* Constrained width */
        justify-content: center;
        align-items: center;
        padding-right: 0;
        background: transparent;
        z-index: 1005;
        /* Ensure visibility */
    }

    .logo img {
        width: 100%;
        height: 100%;
        margin-top: 0;
        padding: 0;
        box-shadow: none;
        background: transparent;
        border-radius: 0;
        object-fit: contain;
    }

    .nav-links {
        display: flex;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #FDFBF7;
        flex-direction: column;
        padding: 0 20px;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-top: none;
    }

    .nav-links.active {
        max-height: 500px;
        /* Allow enough space */
        padding: 30px 20px;
        opacity: 1;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-links li {
        margin: 15px 0;
        text-align: center;
    }

    .right-menu {
        display: none;
    }

    /* Hero Fixes */
    .hero {
        padding-top: 120px;
        /* Less padding than desktop */
        padding-bottom: 60px;
        min-height: auto;
        /* Let content dictate height */
        text-align: center;
        /* Center text on mobile often looks better */
    }

    .hero-content {
        margin: 0 auto;
        text-align: center !important;
        align-items: center !important;
    }

    .hero .container {
        align-items: center;
        /* Center flex items */
    }

    .hero h1 {
        font-size: 2.5rem;
        /* Smaller heading */
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .hero p {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .hero-btns {
        justify-content: center;
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .hero-btns .btn,
    .hero-btns .btn-outline {
        margin: 0;
        width: 100%;
        /* Full width buttons on mobile */
    }

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

    .img-placeholder {
        height: 300px;
    }

    .products-cta h2 {
        font-size: 2.2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

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