/* ----- GLOBAL RESET ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: #0F0F0F; /* Onyx Black */
    color: #FAFAF7;      /* Pearl White */
    line-height: 1.5;
}

a { color: #FAFAF7; text-decoration: none; }

/* ----- HEADER ----- */
header {
    background: #0F0F0F;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-buttons button {
    background: #1B1B1B;
    border: 1px solid #555;
    color: white;
    padding: 10px 18px;
    margin-left: 10px;
    border-radius: 20px;
    cursor: pointer;
}

/* ----- SLIDESHOW ----- */
.slideshow {
    width: 100%;
    height: 380px;
    position: relative;
    overflow: hidden;
}

.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.active { opacity: 1; }

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 15px;
    cursor: pointer;
    background: #111;
    border-radius: 5px;
}

.arrow.left { left: 20px; }
.arrow.right { right: 20px; }

/* ----- CARDS ----- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 40px;
}

.card {
    background: #161616;
    padding: 15px;
    border-radius: 10px;
    cursor: pointer;
    border: 1px solid #333;
    transition: 0.3s;
}

.card:hover { transform: translateY(-5px); }

.card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 10px;
}

/* ----- CONTACT BOX ----- */
.contact-box {
    width: 100%;
    padding: 40px;
    text-align: center;
    background: #1B1B1B;
    border-top: 1px solid #333;
    margin-top: 40px;
}

.contact-box button {
    padding: 14px 40px;
    background: white;
    color: black;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

/* ----- FORMS ----- */
.form-container {
    width: 360px;
    margin: 90px auto;
    padding: 40px;
    background: #161616;
    border-radius: 10px;
    border: 1px solid #333;
    text-align: center;
}

input {
    width: 100%;
    padding: 12px;
    margin: 12px 0;
    border-radius: 5px;
    border: none;
}

/* ----- CHECKOUT ----- */
.checkout-box {
    width: 500px;
    margin: auto;
    margin-top: 60px;
    padding: 30px;
    background: #161616;
    border: 1px solid #333;
    border-radius: 10px;
}

#paymentModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #1B1B1B;
    padding: 30px;
    width: 360px;
    border-radius: 8px;
    border: 1px solid #444;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .card-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
}

.btn {
    display: inline-block;
    padding: 10px 15px;
    background-color: #333;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.user-state {
    color: blue;
    margin-left: 15px;
    font-weight: bold;
}

.error-box {
    background: #ffdddd;
    color: #a00;
    padding: 10px;
    margin: 10px 0;
    border-radius: 6px;
    text-align: center;
    font-weight: bold;
}