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

body {
    font-family: 'Poppins', sans-serif;
    background: #f5f7fa;
    color: #222;
    overflow-x: hidden;
}

/* ===== HEADER ===== */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.4s;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

header.sticky {
    background: #000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #00c2ff;
    box-shadow: 0 5px 15px rgba(0, 194, 255, 0.4);
}

.logo {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo span {
    color: #00c2ff;
}

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

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #00c2ff;
}

/* ===== HERO ===== */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('images/antimele.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
    will-change: transform;
}

.hero-content {
    animation: fadeUp 1.5s ease;
}

.hero h1 {
    font-size: 70px;
    margin-bottom: 20px;
}

.hero h1 span {
    color: #00c2ff;
}

.hero p {
    font-size: 22px;
    margin-bottom: 35px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 15px 35px;
    background: #00c2ff;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.4s;
    box-shadow: 0 10px 25px rgba(0, 194, 255, 0.4);
}

.btn1 {
    display: inline-block;
    padding: 15px 35px;
    background: #00ffb3;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.4s;
    box-shadow: 0 10px 25px #00ffb3;
}

.btn:hover {
    transform: translateY(-5px) scale(1.05);
    background: #0098c7;
}

.btn1:hover {
    transform: translateY(-5px) scale(1.05);
    background: #00cc8f;
}

/* ===== SECTIONS ===== */
section {
    padding: 100px 8%;
}

.title {
    text-align: center;
    margin-bottom: 60px;
}

.title h2 {
    font-size: 42px;
    color: #111;
    margin-bottom: 10px;
}

.title p {
    color: #666;
}

/* ===== SERVICES ===== */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    transition: 0.5s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 5px;
    background: #00c2ff;
    top: 0;
    left: 0;
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card h3 {
    margin: 20px 0;
    font-size: 25px;
}

.card p {
    color: #666;
    line-height: 1.7;
}

/* ===== PRODUCTS ===== */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.5s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.product:hover {
    transform: scale(1.04);
}

.product img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.product-content {
    padding: 25px;
    text-align: center;
}

.product-content h3 {
    margin-bottom: 10px;
}

/* ===== CATEGORY CARDS ===== */
.category-card {
    cursor: pointer;
    transition: .6s;
}

.category-card:hover {
    transform: perspective(1000px) rotateY(10deg) scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 194, 255, .4);
}

/* ===== ABOUT ===== */
.about {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    align-items: center;
}

.about img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-text h3 {
    font-size: 40px;
    margin-bottom: 20px;
}

.about-text p {
    line-height: 1.9;
    color: #555;
    margin-bottom: 20px;
}

/* ===== STATS ===== */
.stats {
    background: #111;
    color: white;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-box h2 {
    font-size: 55px;
    color: #00c2ff;
}

/* ===== CONTACT ===== */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.contact-info {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact-info h3 {
    margin-bottom: 25px;
    font-size: 30px;
}

.contact-info p {
    margin-bottom: 18px;
    color: #555;
}

/* ===== FOOTER ===== */
footer {
    background: #000;
    color: white;
    text-align: center;
    padding: 30px;
}

/* ===== ANIMATIONS ===== */
.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== MODALS ===== */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overscroll-behavior: contain;
}

.modal-content {
    width: 90%;
    max-width: 900px;
    background: white;
    padding: 40px;
    border-radius: 25px;
    animation: zoom .5s ease;
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: thin;
}

.modal.show {
    display: flex;
}

.close {
    float: right;
    font-size: 35px;
    cursor: pointer;
}

@keyframes zoom {
    from {
        transform: scale(.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===== STOCK ITEMS ===== */
.stock-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.stock-item {
    background: #f5f7fa;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    transition: .4s;
}

.stock-item img {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.stock-item:hover {
    transform: translateY(-10px);
}

.reserve-btn {
    margin-top: 15px;
    border: none;
    padding: 12px 25px;
    background: #00c2ff;
    color: white;
    border-radius: 40px;
    cursor: pointer;
}

/* ===== CART BUTTON ===== */
#cartBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #00c2ff;
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    z-index: 9999;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .2);
}

/* ===== FORM INPUTS ===== */
#clientName,
#clientPhone {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}

#cartTotal {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: right;
    color: #00c2ff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .hero h1 {
        font-size: 45px;
    }
    nav ul {
        gap: 15px;
    }
}

@media (max-width: 700px) {
    header {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    nav ul {
        justify-content: center;
        gap: 10px;
    }
    
    .hero h1 {
        font-size: 35px;
    }
    .hero p {
        font-size: 18px;
    }
}

.form-group {
    margin-bottom: 10px;
}

.form-group input {
    width: 100%;
}

.error-text {
    color: red;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

input.error {
    border: 2px solid red !important;
    background: #ffecec;
}

#cartEmpty {
    text-align: center;
    color: #888;
    padding: 20px;
    font-style: italic;
}

::selection {
    background: #00c2ff;
    color: white;
}

button, .btn, .reserve-btn {
    cursor: pointer;
}
