:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --accent-color: #333333;
    --hover-color: #555555;
    --card-bg: #111111;
    --font-main: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3 {
    text-transform: uppercase;
    letter-spacing: 2px;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--hover-color);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 30px;
    width: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 1px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('siscko-love-banner.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 5, 5, 0.5);
    /* overlay to keep text readable */
    pointer-events: none;
}

.hero-content {
    z-index: 1;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1;
}

.hero p {
    font-size: 1.2rem;
    font-weight: 300;
    color: #aaaaaa;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: var(--text-color);
    color: var(--bg-color);
    font-weight: 700;
    letter-spacing: 2px;
    border: 1px solid var(--text-color);
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: transparent;
    color: var(--text-color);
}

/* Highlight Section */
.highlight-section {
    padding: 6rem 5% 0;
}

.highlight-content {
    max-width: 1000px;
    margin: 0 auto;
}

.highlight-card {
    display: flex;
    flex-direction: column;
}

.highlight-desc {
    color: #888;
    font-size: 0.9rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .highlight-card {
        flex-direction: row;
        align-items: center;
    }
    
    .highlight-card .carousel {
        flex: 1;
        max-width: 50%;
    }
    
    .highlight-card .product-info {
        flex: 1;
        padding: 3rem;
        justify-content: center;
    }
    
    .highlight-desc {
        font-size: 1rem;
    }
}

/* Collection Section */
.collection-section {
    padding: 6rem 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: #888;
    font-size: 0.9rem;
}

/* Grid */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Product Card */
.product-card {
    background-color: var(--card-bg);
    border: 1px solid #222;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    background-color: #0a0a0a;
}

.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

/* Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10;
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s ease, background 0.3s ease;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel:hover .carousel-btn {
    opacity: 1;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* Dots */
.dots-container {
    position: absolute;
    bottom: 15px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: rgba(255, 255, 255, 1);
}

/* Product Info */
.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-header h3 {
    font-size: 1rem;
    font-weight: 700;
}

.price {
    font-size: 0.9rem;
    color: #aaaaaa;
}

/* Sizes */
.sizes {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.size-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid #333;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #888;
}

.size-btn:hover,
.size-btn.selected {
    border-color: var(--text-color);
    color: var(--text-color);
}

.add-cart-btn {
    width: 100%;
    padding: 0.8rem;
    background: transparent;
    color: var(--text-color);
    border: 1px solid #333;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-family: var(--font-main);
}

.add-cart-btn:hover {
    background: var(--text-color);
    color: var(--bg-color);
}

.size-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.add-cart-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--card-bg);
    border-left: 1px solid #222;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #222;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #222;
    padding-bottom: 1rem;
}

.cart-item-info h4 {
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.cart-item-info p {
    color: #888;
    font-size: 0.8rem;
}

.remove-item {
    background: none;
    border: none;
    color: #ff4444;
    cursor: pointer;
    font-size: 0.8rem;
    text-decoration: underline;
}

.empty-cart-msg {
    color: #888;
    text-align: center;
    margin-top: 2rem;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid #222;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.checkout-btn {
    width: 100%;
    text-align: center;
    background-color: #25D366;
    /* WhatsApp Green */
    color: white;
    border: none;
}

.checkout-btn:hover {
    background-color: #128C7E;
    color: white;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cart-overlay.open {
    opacity: 1;
    pointer-events: all;
}

/* Footer */
footer {
    padding: 4rem 5% 2rem;
    background-color: #020202;
    border-top: 1px solid #1a1a1a;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    justify-content: center;
}

.logo-img-footer {
    height: 40px;
    width: auto;
}

.footer-content p {
    color: #888;
    max-width: 400px;
}

.socials {
    display: flex;
    gap: 1.5rem;
}

.socials a {
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.footer-bottom {
    text-align: center;
    color: #555;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        background-image: url('banner-desktop-2.png');
    }

    .hero h1 {
        font-size: 3rem;
    }

    .nav-links li:not(:last-child) {
        display: none;
        /* simple mobile fix, hides links but keeps cart */
    }

    .carousel-btn {
        opacity: 1;
        /* Always show buttons on mobile for discoverability */
        background: rgba(0, 0, 0, 0.3);
    }
}

/* Image Modal */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 3000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.image-modal.open {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#modal-img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    user-select: none;
}

.close-modal-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    z-index: 3010;
    line-height: 1;
}

.modal-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    z-index: 3010;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.modal-nav-btn.prev-btn {
    left: 20px;
}

.modal-nav-btn.next-btn {
    right: 20px;
}

/* Make image cursor zoom-in to indicate it's clickable */
.carousel-img {
    cursor: zoom-in;
}
