/* DESIGN SYSTEM FOR DEVIANT */
:root {
    --bg-color: #FAF7F2; /* Cream/Beige */
    --text-dark: #1A1A1A; /* Charcoal Black */
    --accent-gold: #B48E66; /* Elegant Gold */
    --white: #FFFFFF;
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .title-serif {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(250, 247, 242, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo a {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    letter-spacing: 4px;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-dark);
}

.nav-links {
    display: flex;
    gap: 30px;
    flex: 1;
}

.nav-links.right {
    justify-content: flex-end;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
}

/* HERO SECTION */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    filter: brightness(0.7);
    transform: scale(1.1);
    animation: zoomOut 2s forwards;
}

@keyframes zoomOut {
    to { transform: scale(1); }
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero-title {
    font-size: 80px;
    letter-spacing: 10px;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 20px;
    letter-spacing: 4px;
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-desc {
    font-size: 16px;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 300;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-premium {
    background-color: var(--white);
    color: var(--text-dark);
    border: none;
}

.btn-premium:hover {
    background-color: var(--accent-gold);
    color: var(--white);
    transform: translateY(-5px);
}

/* FLASH SALE */
.flash-sale {
    padding: 100px 0;
    background: #fff;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 40px;
}

.countdown {
    background: #C43424; /* Red for urgency */
    color: white;
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 4px;
}

.view-all {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.product-item {
    background: white;
    transition: var(--transition);
}

.product-img {
    height: 450px;
    overflow: hidden;
    position: relative;
    background: #f0f0f0;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-item:hover .product-img img {
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #C43424;
    color: white;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
}

.product-info {
    padding: 20px 0;
    text-align: center;
}

.product-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
}

.price .sale {
    font-weight: 700;
    color: #C43424;
}

.price .old {
    text-decoration: line-through;
    opacity: 0.5;
    margin-left: 10px;
    font-size: 14px;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--text-dark);
    color: var(--text-dark);
    margin: 0 auto;
}

.btn-outline:hover {
    background: var(--text-dark);
    color: var(--white);
}

/* COLLECTIONS GRID */
.collections {
    padding: 120px 0;
    background-color: var(--bg-color);
}

.section-title {
    font-size: 48px;
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: 5px;
}

.section-subtitle {
    text-align: center;
    font-size: 14px;
    letter-spacing: 4px;
    margin-bottom: 60px;
    opacity: 0.6;
}

.editorial-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 400px);
    gap: 20px;
}

.grid-item {
    position: relative;
    overflow: hidden;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.grid-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.grid-item.medium {
    grid-column: span 2;
    grid-row: span 1;
}

.overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
}

.overlay-text h3 {
    font-size: 32px;
    letter-spacing: 3px;
}

/* FOOTER */
.footer {
    padding: 100px 0 40px;
    background: #EBE6E1;
    color: var(--text-dark);
}

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

.footer-col h4 {
    font-size: 14px;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

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

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 14px;
    opacity: 0.7;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--accent-gold);
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px;
    border: 1px solid rgba(0,0,0,0.1);
    background: white;
}

.newsletter-form button {
    padding: 15px 30px;
    background: var(--text-dark);
    color: white;
    border: none;
    cursor: pointer;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(0,0,0,0.05);
    font-size: 12px;
    opacity: 0.5;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-title { font-size: 60px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .editorial-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .nav-links { display: none; }
    .hero-title { font-size: 40px; }
    .editorial-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .grid-item.large, .grid-item.medium { grid-column: span 1; grid-row: auto; height: 400px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* NEW: DEVIANT CLUB MEMBERSHIP */
.deviant-club {
    padding: 80px 0;
    background: #f1f3f9; /* Soft Navy background Hint */
}

.club-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.club-info { flex: 2; }

.club-info h2 {
    font-size: 24px;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.benefit-card {
    padding: 20px;
    background: #313f8c; /* Navy Blue */
    color: white;
    border-radius: 4px;
}

.benefit-card .icon {
    font-size: 24px;
    display: block;
    margin-bottom: 10px;
}

.benefit-card p {
    font-size: 13px;
    line-height: 1.4;
}

.club-cta {
    flex: 1;
    text-align: right;
}

.activity {
    font-size: 12px;
    opacity: 0.6;
    margin-bottom: 20px;
    font-style: italic;
}

@media (max-width: 1024px) {
    .club-wrapper { flex-direction: column; text-align: center; }
    .club-cta { text-align: center; }
    .benefit-grid { grid-template-columns: 1fr; }
}

/* NEW: SERVICE HIGHLIGHTS */
.service-highlights {
    padding: 60px 0;
    background: #f4f1ed;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.service-icon {
    font-size: 30px;
    margin-bottom: 15px;
    filter: grayscale(1);
    opacity: 0.8;
}

.service-item h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.service-item p {
    font-size: 12px;
    opacity: 0.6;
}

/* NEW: CHECKOUT FORM */
.checkout {
    padding: 100px 0;
    background: white;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

.checkout-form h3, .payment-methods h3 {
    font-size: 20px;
    margin-bottom: 30px;
    font-weight: 600;
}

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

.form-group.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
}

.form-group textarea {
    height: 100px;
    resize: none;
}

.form-group input:focus {
    border-color: var(--accent-gold);
    outline: none;
}

.method-list {
    margin-bottom: 30px;
}

.method-item {
    display: block;
    padding: 15px;
    border: 1px solid #eee;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-left: 45px;
    font-size: 14px;
}

.method-item input {
    position: absolute;
    opacity: 0;
}

.custom-radio {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 1px solid #ccc;
    border-radius: 50%;
}

.method-item input:checked + .custom-radio {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
}

.checkout-summary {
    background: #f9f9f9;
    padding: 20px;
    margin-bottom: 30px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.summary-line.total {
    border-top: 1px solid #ddd;
    padding-top: 15px;
    font-weight: 700;
    font-size: 18px;
}

.btn-full {
    width: 100%;
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    
    /* MOBILE MENU TOGGLE ICON */
    .nav-mobile-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        z-index: 1001;
    }
    
    .nav-mobile-toggle span {
        width: 25px;
        height: 2px;
        background: var(--text-dark);
        transition: 0.3s;
    }

    /* MOBILE NAV MENU */
    .nav-links.left {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-color);
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        transition: 0.4s ease-in-out;
        z-index: 999;
    }

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

    .nav-links.right {
        display: none; 
    }

    .hero-title { font-size: 36px; letter-spacing: 5px; }
    .hero-subtitle { font-size: 16px; }
    
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .product-img { height: 300px; }
    
    .section-title { font-size: 32px; }
    
    .editorial-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .grid-item.large, .grid-item.medium { grid-column: span 1; grid-row: auto; height: 350px; }
    
    .checkout-grid { grid-template-columns: 1fr; gap: 30px; }
    .form-group.row { grid-template-columns: 1fr; gap: 10px; }
    
    .service-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr; }
    .service-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 28px; }
}
