/* DESIGN SYSTEM FOR DEVIANT */
:root {
    --bg-color: #FAF7F2;
    /* Cream/Beige */
    --text-dark: #1A1A1A;
    /* Charcoal Black */
    --accent-gold: #B48E66;
    /* Elegant Gold */
    --primary-color: #B48E66; /* New dynamic primary color */
    --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;
}

/* SURVEY SECTION */
.survey {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.survey-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.survey-header {
    margin-bottom: 40px;
}

.survey-form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.survey-form .form-group {
    display: flex;
    flex-direction: column;
}

.survey-form .form-group.full-width {
    grid-column: span 2;
}

.survey-form label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.survey-form input, 
.survey-form select {
    padding: 12px 15px;
    border: 1px solid #ddd;
    font-family: 'Montserrat', sans-serif;
    outline: none;
    transition: border-color 0.3s;
}

.survey-form input:focus, 
.survey-form select:focus {
    border-color: #000;
}

.survey-form .btn {
    min-width: 200px;
}

@media (max-width: 768px) {
    .survey-form .form-grid {
        grid-template-columns: 1fr;
    }
    .survey-form .form-group.full-width {
        grid-column: span 1;
    }
    .survey-wrapper {
        padding: 30px 20px;
    }
}

/* 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);
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.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(--primary-color);
    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);
}

.btn-add-cart {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    padding: 15px;
    background: rgba(26, 26, 26, 0.9);
    color: white;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
}

.product-item:hover .btn-add-cart {
    bottom: 0;
}

.btn-add-cart:hover {
    background: var(--primary-color);
}


.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 REDESIGN: COOLMATE STYLE */
.footer {
    padding: 60px 0 40px;
    background: #fff;
    color: var(--text-dark);
}

.footer-top-strip {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #000;
    color: #fff;
    padding: 25px 40px;
    margin-bottom: 60px;
    border-radius: 12px;
}

.contact-info {
    display: flex;
    gap: 50px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-icon {
    font-size: 22px;
    background: rgba(255,255,255,0.1);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.contact-text .label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 0.6;
    margin-bottom: 2px;
}

.contact-text a {
    color: #fff !important;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

.social-box-group {
    display: flex;
    gap: 12px;
}

.social-box {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-box:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: translateY(-5px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}


.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 {
    margin-top: 50px;
}

.checkout-grid-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
}


.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: #fbf9f6;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid #eee;
}

.cart-items-list {
    margin-bottom: 20px;
    max-height: 200px;
    overflow-y: auto;
    padding-right: 5px;
}

.cart-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    font-size: 13px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    display: block;
}

.cart-item-remove {
    margin-left: 15px;
    color: #999;
    cursor: pointer;
    font-size: 18px;
    transition: 0.3s;
}

.cart-item-remove:hover {
    color: #C43424;
}

.summary-line {

    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.summary-line.total {
    border-top: 1px dashed #ccc;
    padding-top: 20px;
    margin-top: 20px;
    font-weight: 700;
    font-size: 20px;
    color: var(--text-dark);
}


.btn-full {
    width: 100%;
}

.form-status {
    padding: 15px;
    margin-bottom: 20px;
    font-size: 14px;
    border-radius: 4px;
    display: none;
    text-align: center;
}

.form-status.loading {
    display: block;
    background: #f0f0f0;
    color: #666;
}

.form-status.success {
    display: block;
    background: #f0f9f1;
    color: #2e7d32;
    border: 1px solid #d4edda;
    animation: fadeIn 0.5s ease-out;
}

.form-status.error {
    display: block;
    background: #fff5f5;
    color: #c62828;
    border: 1px solid #ffcdd2;
    animation: fadeIn 0.5s ease-out;
}

/* HIGH-CONTRAST CHECKOUT BUTTON */
.btn-checkout-main {
    background: var(--text-dark) !important;
    color: var(--white) !important;
    border: 2px solid var(--text-dark) !important;
    font-size: 16px !important;
    padding: 20px !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.btn-checkout-main:not(:disabled):hover {
    background: var(--accent-gold) !important;
    border-color: var(--accent-gold) !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(180, 142, 102, 0.3);
}

.btn-checkout-main:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #ccc !important;
    border-color: #ccc !important;
}

.cart-count-badge {
    background: var(--accent-gold);
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    position: relative;
    top: -10px;
    right: 5px;
    font-weight: 600;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



@media (max-width: 768px) {
    .footer-top-strip {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        padding: 40px 20px;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 25px;
    }
    
    .contact-item {
        flex-direction: column;
    }

    .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 {
        gap: 30px;
    }

    .checkout-grid-container {
        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;
    }
}

/* --- NEW SECTIONS STYLES --- */

/* MANIFESTO SECTION */
.manifesto {
    padding: 100px 0;
    background-color: #fff;
}

.manifesto-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.manifesto-img img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    box-shadow: 20px 20px 0px #f4f1ed; /* Light beige accent */
}

.manifesto-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.manifesto-content .tagline {
    font-size: 1.4rem;
    font-style: italic;
    color: #888;
    margin-bottom: 30px;
    border-left: 3px solid var(--text-dark);
    padding-left: 20px;
}

.manifesto-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

/* MATERIALS SECTION */
.materials {
    padding: 100px 0;
    background-color: #fbfbfb;
}

.materials-header {
    margin-bottom: 60px;
}

.materials-header h2 {
    font-size: 40px;
    margin-bottom: 10px;
}

.materials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.material-card {
    background-color: #fff;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-radius: 4px;
}

.material-card:hover {
    transform: translateY(-10px);
}

.material-card img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.material-info {
    padding: 40px;
}

.material-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.material-info p {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Responsive adjustments for new sections */
@media (max-width: 991px) {
    .manifesto-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .manifesto-content .tagline {
        border-left: none;
        border-top: 3px solid var(--text-dark);
        padding-left: 0;
        padding-top: 20px;
    }

    .manifesto-img img {
        height: 400px;
    }

    .materials-grid {
        grid-template-columns: 1fr;
    }
}