/* GLOBAL STYLES & VARIABLES */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

:root {
    --color-primary: #520505; /* Deep Maroon/Red */
    --color-secondary: gold; /* Gold Accent */
    --color-background-light: #f4f4f4;
    --color-text-dark: #1b1b1b;
    --color-shadow: rgba(0, 0, 0, 0.15);
}

body {
    line-height: 1.6;
    background-color: var(--color-background-light);
    color: var(--color-text-dark);
    overflow-x: hidden;
    font-size: 16px;
    scroll-behavior: smooth;
}

a {
    color: var(--color-text-dark);
    text-decoration: none;
}

a:hover {
    color: #ff0404;
}

/* HEADER STYLING */
header {
    background-color: var(--color-primary);
    box-shadow: 0 4px 6px var(--color-shadow);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    height: 4.5rem;
    align-items: center;
    padding: 0.8rem 2rem;
}

header .logo {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

header .main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

header .main-nav ul li {
    margin-left: 1.25rem;
}

header .main-nav ul li a {
    color: #fff;
    font-size: 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease-in-out;
    padding: 0.5rem 0.75rem;
    font-weight: 500;
}

header .main-nav ul li a:hover:not(.nav-button) {
    background-color: #ff0404;
}

header .nav-button {
    background-color: var(--color-secondary) !important;
    color: var(--color-primary) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 0.25rem;
    font-weight: 700;
}

header .nav-button:hover {
    background-color: #ffc400 !important;
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
}

/* HERO SECTION */
.hero-section {
    height: 100vh;
    width: 100%;
    background-image: url('images/hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 4.5rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
    z-index: 10;
    color: white;
    text-align: center;
    max-width: 900px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-weight: 900;
}

.hero-content h2 {
    font-size: 2.5rem;
    color: var(--color-secondary);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-content button {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    padding: 1rem 2rem;
    font-size: 1.25em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
    transition: background-color 0.3s ease;
}

.hero-content button:hover {
    background-color: #ffc400;
}

/* FEATURE ICONS SECTION */
.feature-icons-section {
    padding: 40px 20px;
    background-color: #ffffff;
    border-bottom: 3px solid var(--color-primary);
}

.feature-icons-container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-icon {
    font-size: 3rem;
    color: var(--color-text-dark);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.feature-item:hover .feature-icon {
    color: var(--color-primary);
}

.feature-item p {
    font-size: 0.9rem;
    font-weight: 600;
}

/* PREMIUM SELECTIONS */
.meat-group-section {
    padding: 60px 20px;
    text-align: center;
}

.meat-group-section h2 {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 40px;
    position: relative;
}

.meat-group-section h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background: var(--color-secondary);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -15px;
}

.top-selection-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

.top-selection-card {
    flex: 1 1 45%;
    min-width: 350px;
    background-color: #fff;
    border-left: 6px solid var(--color-secondary);
    border-radius: 0.5rem;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: left;
    transition: transform 0.3s ease;
}

/* MEAT CARD DISPLAY */
.meat-card-display-section {
    padding: 60px 20px;
    background-color: #fff;
}

.meat-card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content:center;
    gap: 20px;
    max-width: 1500px;
    margin: 0 auto;
    align-items: center;
}

.meat-card-item {
    flex: 0 1 300px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 22px;
}

#full-width {
    flex: 0 1 50% !important;
    padding-top: 1.2em;
}

#full-width .card-image-wrapper {
    display: flex;
    gap: 10px;
}

#full-width .card-image-wrapper img{
    height: 250px;
    width: 50%;
    object-fit: cover;
}

.meat-card-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    cursor: pointer; /* Indicates it can be clicked */
}

.price-tag {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-primary);
    margin: 10px 0;
    display: block;
}

.card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 15px;
}

.btn-order {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    padding: 10px 0;
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;    
}

.btn-call {
    background-color: transparent;
    border: 2px solid var(--color-primary);
    font-weight: 700;
}

/* STORY SECTION */
#story {
    background-color: var(--color-primary);
    border-radius: 10px;
    padding: 60px 40px;
    text-align: center;
    width: 90%;
    max-width: 1000px;
    color: white;
    margin: 60px auto;
}

#story h2 {
    color: var(--color-secondary);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

/* LIGHTBOX MODAL STYLING */
.modal-overlay {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    user-select: none;
}

.modal-content {
    max-width: 90%;
    max-height: 80vh;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 70vh;
    border: 4px solid var(--color-secondary);
    border-radius: 5px;
    object-fit: contain;
}

.modal-price {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    padding: 10px 25px;
    font-weight: 800;
    font-size: 1.5rem;
    margin-top: 15px;
    border-radius: 30px;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    z-index: 2001;
}

.modal-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: 0.3s;
}

.modal-nav-btn:hover {
    background: var(--color-secondary);
    color: var(--color-primary);
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

/* DELIVERY SECTION */
.delivery-section-wrapper {
    width: 100%;
    background-image: url('images/meat delivery van.jpg');
    height: 350px;
    background-position: center;
    background-size: cover;
    position: relative;
}

.delivery-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.75);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 30px;
}

/* CONTACT FORM */
.contact-form-section {
    padding: 60px 20px;
    display: flex;
    justify-content: center;
}

.form-container {
    width: 100%;
    max-width: 600px;
    background: var(--color-background-light);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--color-shadow);
    text-align: center;
}

.form-group {
    text-align: left;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-primary);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
}

.whatsapp-submit-btn {
    background-color: #25D366;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* FOOTER */
.main-footer {
    background-color: var(--color-primary);
    color: #fff;
    padding: 20px 5%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.footer-bottom {
    width: 100%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}
.footer-nav ul{
    display: flex;
    
}
.footer-nav ul li{
    list-style: none;
}
.footer-nav ul li a {
    display: flex;
    color: white;
    padding: 4px;
}
.nav-button{
    list-style: none;
    border: 2px solid gold;
    background-color: gold;
    border-radius: 2px ;
    font-weight: 600;
    padding: 2px;
}
.mail a{
    color: gold;
    padding: 10px;
}
/* RESPONSIVE */
@media (max-width: 880px) {
    .modal-nav-btn { display: none; } /* Use swiping on mobile */
    .nav-toggle { display: block; 
    font-size: 2.2rem;}
    header .main-nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 4.5rem;
        left: 0;
        width: 100%;
        background-color: var(--color-primary);
        padding: 20px 0;
    }
    header .main-nav ul.nav-open { display: flex; }
}

@media (max-width: 600px) {
    body{
        overflow-x: hidden;
    }
    .feature-icons-container { flex-direction: column; gap: 30px; }
    .hero-content h1 { font-size: 2.5rem; }
    .meat-card-item{flex: 1 1 300px;}
    #full-width { flex: 1 1 100% !important; }
    .main-footer {display: block;align-items: center;text-align: cnter;
    }
    .footer-nav{
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .footer-nav ul li {
        font-size: 15px;
        padding-bottom:10px
    }
    .footer-logo h1{
        width: 100%;
        font-size: 3rem;
    }

} 
