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

body {
    font-family: 'Times New Roman', Times, serif; /* Classic feel */
    background-color: #fdfaf6; /* Soft cream */
    color: #333;
    line-height: 1.6;
}

/* --- Navigation (Logo & Spacing Fix) --- */
header {
    background-color: #1a1a1a; /* Deep Charcoal */
    color: #d4af37; /* Heritage Gold */
    padding: 1.2rem 5%; /* Increased padding slightly for a grander look */
}

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

/* Enlarged Logo Container (Matching Texas Border Tours prominence) */
.logo {
    display: flex;
    align-items: center;
    max-width: 120px; /* Increased from 180px total box constraints */
}

.logo a {
    display: block;
    line-height: 0;
}

.logo img {
    height: auto;
    max-height: 85px; /* Bumped up from 45px so it stands out beautifully */
    width: 100%;
    display: block;
    object-fit: contain;
}

/* Fixed Navigation Layout & Spacing */
nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 30px; /* Spreads the menu options out beautifully */
}

/* Ensures text remains crisp white/gold and never links back to default blue */
nav ul li a {
    color: #fff !important;
    text-decoration: none !important;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 1px;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #d4af37 !important;
}

/* --- Hero Section --- */
.hero {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/hero-bg1.jpeg?v=1.1'); /* We can add an image later */
    background-size: cover;
    background-position: center;
    color: white;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* --- Action Buttons --- */
.action-buttons {
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    margin: 10px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.btn.call {
    background-color: #d4af37;
    color: #1a1a1a;
}

.btn.text {
    background-color: transparent;
    border: 2px solid #d4af37;
    color: #d4af37;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
/* --- Category Section --- */
.shop-categories {
    padding: 60px 5%;
    background-color: #fff;
    text-align: center;
}

.shop-categories h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #1a1a1a;
}

.category-grid {
    display: grid;
    /* This creates 4 columns on desktop, 2 on tablet, 1 on mobile */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    text-decoration: none;
    color: inherit;
    background: #fdfaf6;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    overflow: hidden;
    display: block;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: #d4af37; /* Our Gold color */
}

.category-image {
    width: 100%;
    height: 200px;
    background-color: #e0e0e0; /* Placeholder color until you upload images */
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This makes sure photos don't look squished */
}

.category-card h3 {
    margin: 15px 0 5px;
    font-size: 1.2rem;
    color: #1a1a1a;
}

.category-card p {
    font-size: 0.9rem;
    color: #777;
    padding-bottom: 20px;
}


/* --- Contact Form --- */
#contact-section {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background: white;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    border-radius: 8px;
}

#contact-section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #1a1a1a;
}

input, textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: Arial, sans-serif;
}

button[type="submit"] {
    width: 100%;
    padding: 15px;
    background-color: #1a1a1a;
    color: #d4af37;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

button[type="submit"]:hover {
    background-color: #333;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 20px;
    background: #1a1a1a;
    color: #777;
    font-size: 0.8rem;
    margin-top: 50px;
}
/* --- eBay Style Product Page Layout Additions (FIXED) --- */
.product-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 5%;
}

.category-hero-title {
    text-align: center;
    margin-bottom: 50px;
    border-bottom: 2px solid #eee;
    padding-bottom: 20px;
}

.category-hero-title h1 {
    font-family: 'Times New Roman', serif;
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.product-item-row {
    display: flex;
    flex-wrap: wrap; /* Allows stacking on mobile */
    gap: 40px;
    margin-bottom: 60px;
    background: #fff;
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    align-items: flex-start; /* Aligns text with the top of the photo */
}

/* Force side-by-side split on desktop */
.product-gallery {
    flex: 1 1 45%; /* Takes up roughly half the row */
    min-width: 300px; /* Won't get squished smaller than this */
    max-width: 100%;
}

.product-details-box {
    flex: 1 1 45%; /* Takes up the other half of the row */
    min-width: 300px;
}

.main-image-box {
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    overflow: hidden;
    background: #fafafa;
    width: 100%;
}

/* CRITICAL FIX: Stops massive high-res photos from overflowing */
.main-image-box img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain; 
}

.product-badge {
    background: #fdfaf6;
    color: #d4af37;
    border: 1px solid #d4af37;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    display: inline-block;
}

.product-details-box h2 {
    font-family: 'Times New Roman', serif;
    font-size: 2.2rem;
    margin: 15px 0 10px;
    color: #1a1a1a;
}

.product-price {
    font-size: 1.8rem;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-family: 'Times New Roman', serif;
}

.product-description {
    color: #555;
    margin-bottom: 25px;
    font-family: Arial, sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
}

.product-meta {
    border-top: 1px dashed #eee;
    padding-top: 15px;
    margin-bottom: 25px;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.8;
}

/* --- Direct Order Box (Desktop & Mobile Alignment Fix) --- */
.order-action-card {
    background: #fdfaf6;
    border: 1px solid #d4af37;
    padding: 25px;
    border-radius: 6px;
    margin-top: 20px;
}

.order-action-card h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
    color: #1a1a1a;
    font-family: 'Times New Roman', serif;
}

.order-action-card p {
    font-size: 0.88rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* This fixes the plain links on desktop */
.btn-order {
    display: block;
    text-align: center;
    padding: 14px;
    margin-bottom: 12px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: 0.3s;
    font-size: 0.95rem;
    width: 100%; /* Ensures button takes full width of the gold card */
}

.btn-order:last-child {
    margin-bottom: 0;
}

/* Solid Black Button with Gold Text */
.call-to-order {
    background-color: #1a1a1a !important;
    color: #d4af37 !important;
    border: 1px solid #1a1a1a;
}

.call-to-order:hover {
    background-color: #333 !important;
}

/* Clear Button with Black Text and Border */
.text-to-order {
    background-color: transparent !important;
    border: 2px solid #1a1a1a !important;
    color: #1a1a1a !important;
}

.text-to-order:hover {
    background-color: #1a1a1a !important;
    color: #fff !important;
}


/* Mobile responsive adjustments */
@media(max-width: 768px) {
    .product-item-row {
        flex-direction: column !important;
        padding: 15px;
    }
    .product-gallery, .product-details-box {
        flex: 1 1 100%;
        width: 100%;
    }
    .product-details-box h2 {
        font-size: 1.8rem;
    }
}
/* --- Product Gallery Thumbnails --- */
.thumbnail-row {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.thumbnail-row img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.2s;
    background: #fafafa;
}

.thumbnail-row img:hover {
    border-color: #d4af37; /* Changes to gold outline when hovered */
    transform: scale(1.05);
}

