/* ==========================================
   RESET & BASE STYLES
   ========================================== */

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

:root {
    /* Colors - based on William Wood Mirrors */
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-gray-light: #F5F5F5;
    --color-gray-border: #D9D9D9;
    --color-green: #2E9E7B;
    --color-red: #DE2A2A;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --max-width: 1600px;
    --gutter: 24px;
}

body {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--color-black);
    background-color: var(--color-white);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

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

.img-fluid {
    width: 100%;
    object-fit: cover;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-black);
}

h1 {
    font-size: 32px;
    line-height: 1.2;
}

h2 {
    font-size: 28px;
    line-height: 1.3;
}

h3 {
    font-size: 22px;
    line-height: 1.4;
}

h4 {
    font-size: 17px;
    line-height: 1.4;
}

/* Desktop typography */
@media (min-width: 741px) {
    h1 {
        font-size: 50px;
    }

    h2 {
        font-size: 44px;
    }

    h3 {
        font-size: 28px;
    }
}

/* ==========================================
   BUTTONS
   ========================================== */

.btn-primary {
    background-color: var(--color-black);
    color: var(--color-white);
    border: none;
    padding: 16px 32px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-black);
    border: 1px solid var(--color-black);
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-icon {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    transition: transform 0.2s ease;
}

.btn-icon:hover {
    transform: scale(1.1);
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */

.header {
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-gray-border);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.logo h1 {
    font-size: 18px;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    flex: 1;
    justify-content: center;
}

.nav-menu li a {
    color: var(--color-black);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
}

.nav-menu li a:hover {
    opacity: 0.6;
}

.nav-actions {
    display: flex;
    gap: 16px;
}

/* Mobile Navigation */
@media (max-width: 740px) {
    .nav-menu {
        display: none;
    }

    .logo h1 {
        font-size: 14px;
    }
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero {
    padding: 60px 0;
    background-color: var(--color-gray-light);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text {
    padding: 20px 0;
}

.hero-title {
    margin-bottom: 24px;
}

.hero-description {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 32px;
    color: #333;
}

.hero-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 0;
    background-color: #ddd;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 1000px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }

    .hero-image {
        height: 600px;
    }
}

/* ==========================================
   SECTIONS
   ========================================== */

.featured,
.about,
.contact {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 2px;
}

/* ==========================================
   PRODUCT GRID
   ========================================== */

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 741px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1000px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.product-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-border);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.product-image {
    position: relative;
    height: 400px;
    background-color: var(--color-gray-light);
    overflow: hidden;
}

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

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

.badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-white);
    border-radius: 20px;
}

.badge-green {
    background-color: var(--color-green);
}

.badge-red {
    background-color: var(--color-red);
}

.product-info {
    padding: 24px;
}

.product-title {
    font-size: 15px;
    margin-bottom: 12px;
}

.product-description {
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.product-price {
    font-weight: 700;
    font-size: 16px;
}

.product-price s {
    color: #999;
    font-weight: 400;
    margin-right: 8px;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */

.about {
    background-color: var(--color-gray-light);
}

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

.about-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    background-color: #ddd;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text {
    padding: 20px 0;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-text p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #333;
}

@media (min-width: 1000px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }

    .about-image {
        height: 500px;
    }
}

/* ==========================================
   CONTACT SECTION
   ========================================== */

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item h4 {
    font-size: 14px;
    margin-bottom: 12px;
}

.contact-item p {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--color-gray-border);
    border-radius: 0;
    font-family: var(--font-body);
    font-size: 13px;
    margin-bottom: 16px;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-black);
}

.form-textarea {
    resize: vertical;
}

@media (min-width: 1000px) {
    .contact-content {
        grid-template-columns: 1fr 2fr;
    }
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 60px 0 30px;
}

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

.footer-col h4 {
    color: var(--color-white);
    font-size: 14px;
    margin-bottom: 20px;
}

.footer-col p {
    font-size: 13px;
    line-height: 1.8;
    color: #ccc;
}

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

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

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--color-white);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-link {
    color: #ccc;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
}

.footer-bottom p {
    font-size: 12px;
    color: #999;
}

@media (min-width: 741px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */

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

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}
