/* ============================================
   21&SAINTS - Luxury Clothing Store
   Complete Stylesheet with Mobile Responsive Design
   ============================================ */

/* CSS Variables */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #C0C0C0;
    --accent-color: #f5f5f5;
    --text-color: #333;
    --text-light: #666;
    --white: #ffffff;
    --black: #000000;
    --border-color: #e0e0e0;
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Inter', sans-serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-color);
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-btn {
    position: relative;
    padding: 8px;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.cart-btn:hover {
    color: var(--secondary-color);
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-top: 70px;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video-desktop {
    display: block;
}

.hero-video-mobile {
    display: none;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    z-index: 10;
}

.video-overlay.active {
    opacity: 1;
    visibility: visible;
}

.overlay-logo {
    max-width: 300px;
    height: auto;
}

/* Section Styles */
section {
    padding: 80px 0;
}

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

.section-title {
    font-family: var(--font-primary);
    font-size: 48px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    font-weight: 300;
}

/* Featured Products */
.featured-section {
    background: var(--accent-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 100%;
    height: 350px;
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

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

.product-info {
    padding: 20px;
}

.product-name {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.product-category {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.product-price {
    font-size: 24px;
    font-weight: 600;
    color: var(--secondary-color);
}

/* Brand Story */
.brand-story {
    background: var(--white);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-text h2 {
    font-family: var(--font-primary);
    font-size: 56px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.story-lead {
    font-size: 24px;
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 20px;
}

.story-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

.story-image {
    text-align: center;
}

.story-logo-img {
    max-width: 100%;
    height: auto;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

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

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

/* Newsletter - Now part of footer */

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 50px 0 15px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 30px;
}

.footer-left {
    padding-right: 20px;
}

.footer-left h2 {
    font-family: var(--font-primary);
    font-size: 32px;
    margin-bottom: 15px;
}

.footer-left p {
    font-size: 16px;
    margin-bottom: 25px;
    opacity: 0.9;
    line-height: 1.6;
}

.footer-right {
    padding-left: 20px;
}

.footer-right h3 {
    font-family: var(--font-primary);
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-right h4 {
    font-family: var(--font-primary);
    font-size: 18px;
    margin-top: 25px;
    margin-bottom: 15px;
}

.footer-right p {
    opacity: 0.8;
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-right ul {
    list-style: none;
}

.footer-right ul li {
    margin-bottom: 12px;
    opacity: 0.8;
    font-size: 16px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 100%;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    font-size: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: var(--white);
    border-radius: 0;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.newsletter-form .btn-primary {
    white-space: nowrap;
}


.whatsapp-link {
    display: inline-flex;
    align-items: center;
    color: var(--white);
    opacity: 0.8;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.whatsapp-link:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.whatsapp-link svg {
    fill: currentColor;
}

.footer-bottom {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 14px;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--white);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.cart-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 {
    font-family: var(--font-primary);
    font-size: 24px;
}

.cart-close {
    font-size: 32px;
    color: var(--text-color);
    line-height: 1;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-empty {
    text-align: center;
    color: var(--text-light);
    padding: 40px 20px;
}

.dropping-soon {
    text-align: center;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.dropping-soon-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 30px;
}

.dropping-soon h2 {
    font-family: var(--font-primary);
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.dropping-soon p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 10px;
    line-height: 1.6;
}

.dropping-soon-subtitle {
    font-size: 16px;
    color: var(--text-light);
    margin-top: 20px;
    opacity: 0.8;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    border-radius: 4px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-item-details {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.cart-item-price {
    font-weight: 600;
    color: var(--secondary-color);
}

.cart-item-remove {
    color: var(--text-light);
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.cart-total {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.cart-checkout {
    width: 100%;
}

/* Page Header */
.page-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 120px 0 60px;
    text-align: center;
    margin-top: 70px;
}

.page-header h1 {
    font-family: var(--font-primary);
    font-size: 56px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

/* About Section */
.about-section {
    padding: 80px 0;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

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

.about-intro h2 {
    font-family: var(--font-primary);
    font-size: 48px;
    margin-bottom: 20px;
}

.about-intro .lead {
    font-size: 20px;
    color: var(--secondary-color);
    font-weight: 500;
}

.about-story {
    margin-bottom: 60px;
}

.story-block {
    margin-bottom: 40px;
}

.story-block h3 {
    font-family: var(--font-primary);
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.story-block p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 15px;
}

.about-tagline {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
}

.tagline-main {
    font-family: var(--font-primary);
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 10px;
}

.tagline-by {
    font-size: 14px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Products Page */
.products-header {
    background: var(--accent-color);
    padding: 120px 0 60px;
    text-align: center;
    margin-top: 70px;
}

.products-header h1 {
    font-family: var(--font-primary);
    font-size: 56px;
    margin-bottom: 15px;
}

.filters-section {
    background: var(--white);
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
}

.filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--border-color);
    background: var(--white);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white);
}

.products-section {
    padding: 60px 0;
    background: var(--accent-color);
}

/* Product Modal */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.product-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 40px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 32px;
    color: var(--text-color);
    line-height: 1;
    z-index: 10;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.modal-image {
    width: 100%;
    height: 500px;
    background: var(--accent-color);
    border-radius: 8px;
}

.modal-details h2 {
    font-family: var(--font-primary);
    font-size: 36px;
    margin-bottom: 15px;
}

.modal-details .product-price {
    font-size: 32px;
    margin-bottom: 20px;
}

.size-selector {
    margin: 30px 0;
}

.size-selector h3 {
    font-size: 16px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.size-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.size-option {
    padding: 10px 20px;
    border: 2px solid var(--border-color);
    background: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.size-option:hover,
.size-option.selected {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white);
}

.size-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Shipping Section */
.shipping-section {
    padding: 80px 0;
}

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

.info-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 30px;
}

.info-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.info-card h2 {
    font-family: var(--font-primary);
    font-size: 32px;
    margin-bottom: 30px;
}

.info-details {
    margin-top: 20px;
}

.detail-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.detail-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.detail-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.detail-item p {
    margin-bottom: 10px;
    line-height: 1.8;
}

.detail-item ol {
    margin-left: 20px;
    margin-top: 15px;
}

.detail-item ol li {
    margin-bottom: 10px;
    list-style: decimal;
}

.note {
    font-style: italic;
    color: var(--text-light);
    margin-top: 20px;
}

.faq-list {
    margin-top: 20px;
}

.faq-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.faq-item p {
    line-height: 1.8;
    color: var(--text-light);
}

/* ============================================
   MOBILE RESPONSIVE STYLES
   ============================================ */

/* Tablet Styles */
@media (max-width: 968px) {
    .section-title {
        font-size: 40px;
    }

    .story-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .story-text h2 {
        font-size: 48px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }

    .modal-body {
        grid-template-columns: 1fr;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 40px 20px;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* Hero Section */
    .hero {
        height: 70vh;
        margin-top: 70px;
    }

    .hero-video-desktop {
        display: none;
    }

    .hero-video-mobile {
        display: block;
    }

    .overlay-logo {
        max-width: 200px;
    }

    /* Typography */
    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .page-header h1,
    .products-header h1 {
        font-size: 36px;
    }

    .story-text h2 {
        font-size: 36px;
    }

    .story-lead {
        font-size: 18px;
    }

    .about-intro h2 {
        font-size: 36px;
    }

    /* Sections */
    section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    /* Products Grid */
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }

    .product-image {
        height: 250px;
    }

    .product-name {
        font-size: 18px;
    }

    .product-price {
        font-size: 20px;
    }

    /* Brand Story */
    .story-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Newsletter */
    .newsletter {
        padding: 60px 20px;
    }

    .newsletter h2 {
        font-size: 32px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-left,
    .footer-right {
        padding: 0;
    }

    .footer-left h2 {
        font-size: 28px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form .btn-primary {
        width: 100%;
    }

    /* Cart Sidebar */
    .cart-sidebar {
        width: 100%;
    }

    /* Modal */
    .modal-content {
        padding: 20px;
        max-height: 95vh;
    }

    .modal-body {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .modal-image {
        height: 300px;
    }

    .modal-details h2 {
        font-size: 28px;
    }

    .modal-details .product-price {
        font-size: 24px;
    }

    /* Filters */
    .filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .filter-btn {
        white-space: nowrap;
        font-size: 12px;
        padding: 8px 16px;
    }

    /* Info Cards */
    .info-card {
        padding: 25px;
    }

    .info-card h2 {
        font-size: 24px;
    }

    .tagline-main {
        font-size: 24px;
    }

    /* Container */
    .container {
        padding: 0 15px;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .hero {
        height: 60vh;
    }

    .section-title {
        font-size: 28px;
    }

    .page-header h1,
    .products-header h1 {
        font-size: 28px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 300px;
    }

    .story-text h2 {
        font-size: 28px;
    }

    .newsletter h2 {
        font-size: 28px;
    }

    .modal-details h2 {
        font-size: 24px;
    }

    .info-card {
        padding: 20px;
    }

    .info-card h2 {
        font-size: 20px;
    }
}
