/*
Theme Name: Maxorra
Description: Apple-inspired premium theme for luxury lifestyle brands
Version: 1.0.0
Author: Your Name
*/

:root {
    --navy: #102341;
    --white: #FEFEFE;
    --peach: #F4C9BE;
    --peach50: #F4C9BE80;
    --darkpeach: #e2ae87;
    --navy-light: rgba(16, 35, 65, 0.8);
    --navy-dark: #0a1a2d;
    --peach-light: rgba(242, 201, 190, 0.1);
    --peach-soft: rgba(242, 201, 190, 0.3);
}

@font-face {
    font-family: 'MyCustomFont';
    src: url('fonts/Abril_Fatface/AbrilFatface-Regular.ttf') format('ttf'),
    url('fonts/Abril_Fatface/AbrilFatface-Regular.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
    color: var(--navy);
}

html {
    scroll-behavior: smooth;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(254, 254, 254, 0.9);
    backdrop-filter: blur(25px);
    z-index: 1000;
    padding: 1.2rem 2rem;
    transition: all 0.4s ease;
    border-bottom: 1px solid var(--peach-soft);
}

.navbar.scrolled {
    background: rgba(254, 254, 254, 0.95);
    backdrop-filter: blur(30px);
    box-shadow: 0 2px 20px rgba(16, 35, 65, 0.1);
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: 'Abril Fatface', cursive;
    font-size: 2rem;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    color: var(--navy);
    text-decoration: none;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--peach);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--peach);
}

.early-access-btn {
    background: var(--peach) !important;
    color: var(--navy) !important;
    padding: 0.8rem 1.5rem !important;
    border-radius: 25px !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease !important;
}

.early-access-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(242, 201, 190, 0.4);
    background: #edb5a3 !important;
}

.early-access-btn::after {
    display: none !important;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, var(--white) 0%, #f8f9fa 50%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, var(--peach-light) 0%, transparent 50%),
                radial-gradient(circle at 30% 70%, var(--peach-light) 0%, transparent 50%);
    animation: gentlePulse 12s ease-in-out infinite;
}

@keyframes gentlePulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

.hero-content {
    z-index: 2;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1.2s ease forwards;
    animation-delay: 0.8s;
}

.new-brand-badge {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--peach50);
    border: 1px solid var(--peach-soft);
    color: var(--navy);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    font-weight: 500;
}

.hero h1 {
    font-family: 'Abril Fatface', cursive;
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: var(--navy);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-family: 'Abril Fatface', cursive;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 2rem;
    color: var(--navy);
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: var(--navy-light);
    max-width: 700px;
    font-weight: 300;
    line-height: 1.8;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--peach);
    color: var(--navy);
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s ease;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    margin: 0 1rem 1rem 0;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--peach);
    color: var(--navy);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(242, 201, 190, 0.4);
    background: #edb5a3;
}

.cta-button.secondary:hover {
    background: var(--peach-light);
}

/* Sections */
.section {
    padding: 8rem 2rem;
    position: relative;
}

.section-navy {
    background: var(--navy);
    color: var(--white);
}

.section-peach {
    background: var(--peach);
    color: var(--navy);
}

.section-white {
    background: var(--white);
}

.section-gray {
    background: #f8f9fa;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.content {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s ease;
}

.content.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Product Showcase */
.product-showcase {
    width: 100%;
    height: auto;
    /*background: linear-gradient(135deg, var(--peach) 0%, #edb5a3 50%, var(--peach) 100%);*/
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    opacity: 0;
    transform: translateX(50px) scale(0.95);
    transition: all 1s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(242, 201, 190, 0.3);
}

.product-showcase.visible {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.product-showcase:hover {
    transform: translateX(0) scale(1.02);
    box-shadow: 0 25px 80px rgba(242, 201, 190, 0.4);
}

/* Scroll Progress */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(242, 201, 190, 0.2);
    z-index: 1001;
}

.scroll-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--peach), #edb5a3);
    width: 0%;
    transition: width 0.3s ease;
}

/* Body padding for fixed header */
body {
    padding-top: 80px;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 10;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 3.5rem;
        letter-spacing: 2px;
    }
    
    .product-showcase {
        height: 350px;
        font-size: 4rem;
    }
}

/* Values Section Styling */
.values-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 200;
    margin-bottom: 6rem;
    color: var(--navy);
    letter-spacing: 2px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
}

.value-item {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
    padding: 2rem;
    border-radius: 15px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(16, 35, 65, 0.05);
    border: 1px solid var(--peach-soft);
}

.value-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(242, 201, 190, 0.2);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--peach);
}

.value-item h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--navy);
    letter-spacing: 0.5px;
}

.value-item p {
    color: var(--navy-light);
    line-height: 1.7;
    font-weight: 300;
}

/* Email signup styling */
.early-access-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.early-access-content h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 200;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.early-access-content p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    font-weight: 300;
    line-height: 1.8;
    opacity: 0.9;
}

.email-signup {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.email-input {
    flex: 1;
    min-width: 250px;
    padding: 1.2rem 1.5rem;
    border: 2px solid var(--navy);
    border-radius: 50px;
    font-size: 1rem;
    background: var(--white);
    color: var(--navy);
}

.email-submit {
    padding: 1.2rem 2rem;
    background: var(--navy);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.email-submit:hover {
    background: var(--navy-dark);
    transform: translateY(-2px);
}

/* Category badges */
.category-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--peach50);
    border: 1px solid var(--peach-soft);
    color: var(--navy);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    border-radius: 25px;
    font-weight: 500;
}

/* Feature lists */
.feature-list {
    list-style: none;
    margin: 3rem 0;
}

.feature-list li {
    padding: 1rem 0;
    color: var(--navy-dark);
    position: relative;
    padding-left: 2rem;
    font-weight: 400;
    border-bottom: 1px solid rgba(242, 201, 190, 0.2);
}

.feature-list li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: var(--peach);
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .email-signup {
        flex-direction: column;
        align-items: center;
    }
    
    .email-input {
        min-width: 100%;
    }
}

.product-showcase img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    border-radius: 16px;
    position: relative;
    z-index: 1;
}

/*.product-showcase img {*/
/*    max-width: 100%;*/
/*    max-height: 100%;*/
/*    width: auto;*/
/*    height: auto;*/
/*    object-fit: contain;  !* Preserves aspect ratio *!*/
/*    border-radius: 16px;*/
/*    position: relative;*/
/*    z-index: 1;*/
/*}*/


.signup-message {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    animation: slideIn 0.3s ease;
}

.signup-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #166534;
}

.signup-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #991b1b;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading state styling */
.email-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.email-input:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Enhanced email input styling */
.email-input:focus {
    outline: none;
    border-color: var(--peach);
    box-shadow: 0 0 0 3px rgba(242, 201, 190, 0.2);
}

.email-input::placeholder {
    color: rgba(16, 35, 65, 0.5);
}

/* Responsive improvements */
@media (max-width: 768px) {
    .email-signup {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .email-input {
        min-width: 100%;
        margin-bottom: 0;
    }

    .email-submit {
        width: 100%;
    }
}

.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--navy);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        background: var(--white);
        width: 200px;
        padding: 1rem;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    .nav-links.active {
        display: flex;
    }
}