/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Nib-Bold';
    src: url('./fonts/Nib-Bold.woff2') format('woff2'),
         url('./fonts/Nib-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nib-SemiBold';
    src: url('./fonts/Nib-SemiBold.woff2') format('woff2'),
         url('./fonts/Nib-SemiBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TWKLausanne-350';
    src: url('./fonts/TWKLausanne-350.woff2') format('woff2'),
         url('./fonts/TWKLausanne-350.woff') format('woff');
    font-weight: 350;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    background-color: #fff;
    padding: 20px 0;
    text-align: center;
    border-bottom: 1px solid #e5e5e5;
}

.logo {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 8px;
    color: #000;
}

/* Hero Section */
.hero {
    background-image: url('./images/hero-image-mobile.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.hero-content {
    text-align: center;
}

.hero-title {
    font-family: 'Nib-Bold', Arial, Helvetica, sans-serif;
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 24px;
    color: #000;
    line-height: 1.3;
}

.hero-text {
    font-family: 'TWKLausanne-350', Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #333;
}

.hero-text a {
    text-decoration: underline;
    color: #333333;
    text-underline-offset: 4px;
}

.hero-text-secondary {
    font-family: 'TWKLausanne-350', Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 32px;
    color: #333;
}

.cta-button {
    display: inline-block;
    background-color: #487a36;
    color: #fff;
    text-decoration: none;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #4a7531;
}

/* Brands Section */
.brands {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
}

.brands-title {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 50px;
    color: #000;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}

.brand-logo {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.brand-logo img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

/* Footer */
.footer {
    background-color: rgb(253, 250, 241);
    padding: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 50px 20px 0;
}

.footer-left {
    order: 2;
}

.footer-copyright {
    font-size: 13px;
    color: #666;
}

.footer-columns {
    display: flex;
    flex-direction: column;
    gap: 30px;
    order: 1;
}

.footer-column h3 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: #333;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    font-size: 14px;
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #333;
}

.footer-border {
    height: 16px;
    background-image: url('./images/icons/diamond-pattern.svg');
    background-repeat: repeat;
    background-size: 16px 16px;
    margin-top: 50px;
    width: 100%;
}

/* Tablet Breakpoint */
@media (min-width: 768px) {
    .logo {
        font-size: 28px;
        letter-spacing: 10px;
    }

    .hero {
        background-image: url('./images/hero-image-tablet.jpg');
        padding: 80px 40px;
    }

    .hero-title {
        font-size: 36px;
        margin-bottom: 28px;
    }

    .hero-content {
        text-align: center;
        max-width: 684px;
    }

    .hero-text,
    .hero-text-secondary {
        font-size: 17px;
    }

    .cta-button {
        padding: 14px 20px;
        font-size: 15px;
    }

    .brands {
        padding: 40px;
    }

    .brands-title {
        font-size: 32px;
        margin-bottom: 60px;
    }

    .brands-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 40px;
    }

    .brand-logo {
        width: 90px;
        height: 90px;
    }

    .footer-columns {
        flex-direction: row;
        gap: 80px;
    }

    .footer-content {
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 60px;
        padding: 50px 50px 0;
    }

    .footer-left {
        order: 1;
    }

    .footer-columns {
        order: 2;
    }
}

/* Desktop Breakpoint */
@media (min-width: 1024px) {
    .logo {
        font-size: 30px;
        letter-spacing: 12px;
    }

    .hero {
        background-image: url('./images/hero-image-desktop.jpg');
    }

    .hero-title {
        font-size: 28px;
        margin-bottom: 32px;
    }

    .hero-text,
    .hero-text-secondary {
        font-size: 18px;
        line-height: 1.8;
    }

    .brands {
        padding: 60px;
    }

    .brands-title {
        font-size: 36px;
        margin-bottom: 16px;
    }

    .brands-grid {
        gap: 12px;
        grid-template-columns: repeat(5, 1fr);
    }

    .brand-logo {
        width: 105px;
        height: 105px;
    }

    .footer-content {
        padding: 60px 20px 0;
    }

    .footer-columns {
        gap: 100px;
    }
}

/* Large Desktop Breakpoint */
@media (min-width: 1600px) {
    .brands-grid {
        grid-template-columns: repeat(10, 1fr);
        gap: 12px;
    }
}
