
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f8f8f8;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit; /* Ensure consistent box-sizing */
}

.header, footer {
    width: 100%; /* Full-width background */
    background: inherit;
}

.header-container, .footer-container, .main-container, .content-container {
    max-width: 1440px; /* Similar max-width to Apple's site */
    margin: 0 auto;
    padding: 0 20px; /* Dynamic horizontal padding */
    box-sizing: border-box;
}

.header {
    position: sticky;
    top: 0;
    background: #000;
    color: #fff;
    z-index: 1000;
    padding: 10px 0; /* Default padding for smaller devices */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping on smaller devices */
}

.header .logo {
    font-size: 24px;
    font-weight: bold;
    flex: 1; /* Take available space */
}

.nav {
    display: flex;
    flex-wrap: wrap; /* Wrap links on smaller screens */
    justify-content: flex-end;
    flex: 2;
}

.nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    padding: 5px 0;
}

.nav a:hover {
    border-bottom: 2px solid #fff;
}

/* Hero section fix to make the background full-width and content properly padded */
.hero-section {
    text-align: center;
    padding: 50px 0; /* Only vertical padding */
    background: #000;
    color: #fff;
    width: 100%; /* Ensure full-width background */
    overflow-x: hidden; /* Prevent extra horizontal scrolling */
}

.hero-section .container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.hero-section h1 {
    font-size: 36px;
}

.hero-section p {
    font-size: 18px;
}

.store-links a {
    display: inline-block;
    margin: 10px;
    padding: 10px 20px;
    color: #000;
    background: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

/* Proper centering for "Why Choose Venerealis?" section */
.features-section {
    padding: 40px 20px;
    background: #f8f8f8;
    width: 100%; /* Full-width background */
    text-align: center; /* Center align all text */
}

.features-section h2,
.features-section p,
.features-section .feature {
    text-align: center; /* Ensure all elements are centered */
    margin: 0 auto; /* Auto margins to ensure proper centering */
    display: block;
}

.features-section .feature {
    margin: 20px 0;
}

footer {
    text-align: center;
    padding: 20px 0;
    background: #000;
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header {
        padding: 10px 0; /* Keep smaller padding on mobile */
    }

    .header-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav {
        justify-content: flex-start;
        margin-top: 10px;
    }

    .nav a {
        margin: 5px 10px;
    }
}

/* Larger screen adjustments */
@media (min-width: 1024px) {
    .header {
        padding: 20px 0; /* Increase height for larger screens */
    }
}


html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1; /* Pushes the footer down */
}

footer {
    width: 100%;
    background: #000;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: auto; /* Ensures the footer is pushed to the bottom */
}
