/* AZ PAY DIRT - Styles */

:root {
    --primary-brown: #4a3728;
    --accent-gold: #c5a059;
    --background-tan: #f4eee1;
    --text-dark: #333;
    --white: #ffffff;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--background-tan);
    color: var(--text-dark);
    line-height: 1.6;
    scroll-behavior: smooth;
}

h1, h2, h3 {
    font-family: 'Roboto Slab', serif;
    color: var(--primary-brown);
}

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

/* Header & Nav */
header {
    background: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo-text {
    font-family: 'Roboto Slab', serif;
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--primary-brown);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--primary-brown);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--accent-gold);
}

/* Hero Section */
.hero {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(to bottom, #ffffff, #f4eee1);
}

.main-logo {
    max-width: 350px;
    width: 100%;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: #666;
}

/* Sections */
section {
    padding: 80px 0;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent-gold);
    margin: 10px auto;
}

.about {
    background-color: var(--white);
    text-align: center;
}

.about p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Products */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.product-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.product-img {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    margin-bottom: 1.5rem;
}

.product-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.product-card p {
    font-size: 0.9rem;
    color: #666;
    min-height: 60px; /* simple alignment */
    margin-bottom: 1rem;
}

.product-card .price {
    display: block;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
    color: var(--accent-gold);
    font-size: 1.2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary-brown);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    transition: background 0.3s;
}

.btn:hover {
    background: #5e4635;
}

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

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

.btn-product {
    display: block;
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--primary-brown);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: background 0.3s;
}

.btn-product:hover {
    background: var(--accent-gold);
}


/* Contact */
.contact {
    background: var(--white);
    text-align: center;
}

/* Footer */
footer {
    padding: 40px 0;
    background: var(--primary-brown);
    color: var(--white);
    text-align: center;
}

footer p {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 992px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    nav { flex-direction: column; }
    nav ul { margin-top: 1rem; }
    nav ul li { margin: 0 10px; }
}

@media (max-width: 576px) {
    .product-grid { grid-template-columns: 1fr; }
}
