/* style.css - Warm Cream and Plum Luxury Coming Soon Page Styles */

/* ==========================================================================
   Design Tokens / Variables
   ========================================================================== */
:root {
    /* Brand Palette - Updated for Cream & Plum theme */
    --color-cream-bg: #FAF6F0;       /* Base warm cream */
    --color-cream-dark: #F3EBE0;     /* Darker cream for gradients/accents */
    --color-cream-light: #FDFBF8;    /* Very light warm white */
    
    --color-plum-dark: #27192C;      /* Deep rich aubergine */
    --color-plum: #3E2D44;           /* Primary header plum */
    --color-plum-light: #5A4B5D;     /* Body text plum/charcoal */
    --color-plum-muted: #827285;     /* Muted metadata */
    
    --color-gold-raw: 197, 160, 89;
    --color-gold: #c5a059;           /* Warm gold */
    --color-gold-light: #e5c483;     /* Bright gold highlights */
    --color-gold-dark: #9e7d3b;      /* Deep antique gold */
    
    --color-white: #ffffff;
    
    /* Functional Gradients */
    --bg-light: radial-gradient(circle at 50% 30%, var(--color-cream-light) 0%, var(--color-cream-bg) 60%, var(--color-cream-dark) 100%);
    --text-primary: var(--color-plum);
    --text-secondary: var(--color-plum-light);
    --text-muted: var(--color-plum-muted);
    
    /* Typography */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.2s ease;
    
    /* Shadows */
    --shadow-gold: 0 8px 24px rgba(197, 160, 89, 0.12);
    --shadow-card: 0 15px 40px rgba(62, 45, 68, 0.08);
    --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.03);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    height: 100%;
}

body {
    font-family: var(--font-sans);
    background: var(--color-cream-bg);
    background-image: var(--bg-light);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Sparkles Canvas */
#sparkles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

/* Visually Hidden Utility for Screen Readers */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ==========================================================================
   Announcement Bar (Scrolling Marquee)
   ========================================================================== */
.announcement-bar {
    background-color: var(--color-plum-dark);
    color: var(--color-gold-light);
    border-bottom: 1px solid rgba(197, 160, 89, 0.15);
    padding: 10px 0;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    z-index: 10;
    position: relative;
    overflow: hidden;
}

.announcement-track {
    display: flex;
    white-space: nowrap;
    animation: marquee 28s linear infinite;
    width: max-content;
}

.announcement-track span {
    padding: 0 30px;
}

.announcement-track .separator {
    color: var(--color-gold);
    opacity: 0.7;
}

@keyframes marquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* ==========================================================================
   Main Content Layout
   ========================================================================== */
.coming-soon-container {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 24px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 2;
    position: relative;
    flex-grow: 1;
}

/* Header & Logo */
.logo-header {
    margin-bottom: 40px;
    animation: fadeInDown 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.brand-logo {
    display: inline-block;
    padding: 5px;
    transition: var(--transition-smooth);
}

.brand-logo:hover {
    transform: scale(1.02);
}

.main-logo-svg {
    filter: drop-shadow(0 4px 8px rgba(62, 45, 68, 0.06));
}

/* Intro Section */
.intro-section {
    max-width: 780px;
    margin-bottom: 40px;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.tagline {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 0.25em;
    display: block;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.main-heading {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--color-plum);
    letter-spacing: -0.01em;
}

.description-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.8;
}

/* ==========================================================================
   Newsletter Subscription Form Component
   ========================================================================== */
.subscription-section {
    width: 100%;
    max-width: 650px;
    margin-bottom: 50px;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.glass-form-card {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(197, 160, 89, 0.22);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.glass-form-card h3 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    margin-bottom: 12px;
    color: var(--color-plum);
    font-weight: 400;
}

.glass-form-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.6;
}

.glass-form-card p strong {
    color: var(--color-gold-dark);
}

.subscribe-form {
    position: relative;
}

.input-group {
    display: flex;
    background: var(--color-white);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 50px;
    padding: 6px 6px 6px 20px;
    align-items: center;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-subtle);
}

.input-group:focus-within {
    border-color: var(--color-plum);
    box-shadow: 0 0 15px rgba(62, 45, 68, 0.08);
}

.input-icon {
    color: var(--color-gold);
    font-size: 1.1rem;
    margin-right: 15px;
    opacity: 0.9;
}

.subscribe-form input {
    flex-grow: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--color-plum);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    height: 48px;
    width: 100%;
}

.subscribe-form input::placeholder {
    color: var(--color-plum-muted);
    opacity: 0.7;
}

.submit-btn {
    background: linear-gradient(135deg, var(--color-plum) 0%, var(--color-plum-dark) 100%);
    color: var(--color-white);
    border: none;
    outline: none;
    border-radius: 50px;
    padding: 0 32px;
    height: 48px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(62, 45, 68, 0.15);
}

.submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(62, 45, 68, 0.22);
}

.submit-btn:active {
    transform: translateY(1px);
}

.btn-icon {
    font-size: 0.85rem;
    color: var(--color-gold-light);
    transition: var(--transition-quick);
}

.submit-btn:hover .btn-icon {
    transform: translateX(4px);
}

/* Button Golden Shine Overlay Animation */
.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: none;
}

.submit-btn:hover .btn-shine {
    animation: buttonShine 1.5s infinite;
}

@keyframes buttonShine {
    0% { left: -100%; }
    100% { left: 200%; }
}

.error-msg {
    display: block;
    color: #b53838;
    font-size: 0.8rem;
    margin-top: 10px;
    text-align: left;
    padding-left: 20px;
    opacity: 0;
    height: 0;
    transform: translateY(-5px);
    transition: var(--transition-smooth);
    pointer-events: none;
}

.subscribe-form.invalid .error-msg {
    opacity: 1;
    height: auto;
    transform: translateY(0);
    margin-bottom: -5px;
}

.subscribe-form.invalid .input-group {
    border-color: #b53838;
}

/* Success Message Overlay styling */
.success-alert {
    display: none;
    flex-direction: column;
    align-items: center;
    animation: scaleIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.success-icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.3);
    color: var(--color-gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.1);
}

.success-alert h4 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--color-plum);
    margin-bottom: 12px;
}

.coupon-code {
    display: inline-block;
    background: rgba(197, 160, 89, 0.1);
    border: 1px dashed var(--color-gold);
    color: var(--color-gold-dark);
    padding: 6px 16px;
    border-radius: 6px;
    font-family: var(--font-sans);
    font-weight: 600;
    letter-spacing: 0.05em;
    margin: 5px 0;
}

/* ==========================================================================
   Teaser / Features Grid (Jewellery Only)
   ========================================================================== */
.teaser-section {
    width: 100%;
    margin-top: 10px;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

.teaser-heading {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 35px;
    position: relative;
    display: inline-block;
    color: var(--color-plum);
}

.teaser-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1.5px;
    background: var(--color-gold);
}

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

.teaser-item {
    background: var(--color-white);
    border: 1px solid rgba(197, 160, 89, 0.18);
    border-radius: 20px;
    padding: 35px 24px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-subtle);
}

.teaser-item:hover {
    border-color: var(--color-gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
}

.teaser-icon {
    font-size: 1.6rem;
    color: var(--color-gold);
    margin-bottom: 20px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.teaser-item:hover .teaser-icon {
    color: var(--color-plum);
    transform: scale(1.08);
}

.teaser-item h4 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--color-plum);
}

.teaser-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   Footer Component
   ========================================================================== */
.coming-soon-footer {
    width: 100%;
    margin-top: auto;
    position: relative;
    z-index: 2;
    animation: fadeIn 1.5s ease 0.8s both;
}

.footer-divider {
    max-width: 1100px;
    height: 1px;
    background: linear-gradient(90deg, rgba(197, 160, 89, 0) 0%, rgba(197, 160, 89, 0.15) 20%, rgba(197, 160, 89, 0.15) 80%, rgba(197, 160, 89, 0) 100%);
    margin: 0 auto;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-white);
    border: 1px solid rgba(197, 160, 89, 0.25);
    color: var(--color-plum);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-subtle);
}

.social-icon:hover {
    color: var(--color-white);
    background: var(--color-plum);
    border-color: var(--color-plum);
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(62, 45, 68, 0.15);
}

.store-address {
    font-style: normal;
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.02em;
}

.store-address i {
    color: var(--color-gold);
}

.copyright {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Large Tablets / Small Laptops */
@media screen and (max-width: 992px) {
    .main-heading {
        font-size: 3rem;
    }
    
    .teaser-grid {
        gap: 20px;
    }
}

/* Small Tablets / Large Mobile */
@media screen and (max-width: 768px) {
    .coming-soon-container {
        padding: 30px 20px 40px;
    }

    .logo-header {
        margin-bottom: 25px;
    }
    
    .main-heading {
        font-size: 2.3rem;
    }
    
    .description-text {
        font-size: 0.98rem;
    }
    
    .glass-form-card {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .glass-form-card h3 {
        font-size: 1.5rem;
    }
    
    .teaser-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .teaser-item {
        padding: 24px;
    }
    
    .teaser-heading {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    .footer-content {
        padding: 20px;
        gap: 15px;
    }
}

/* Small Mobile */
@media screen and (max-width: 480px) {
    .main-heading {
        font-size: 1.95rem;
    }
    
    .tagline {
        font-size: 0.7rem;
        letter-spacing: 0.18em;
    }
    
    .input-group {
        flex-direction: column;
        border-radius: 16px;
        padding: 12px;
        background: var(--color-white);
        align-items: stretch;
    }
    
    .input-icon {
        display: none;
    }
    
    .subscribe-form input {
        text-align: center;
        height: 44px;
        margin-bottom: 12px;
        padding: 0;
    }
    
    .submit-btn {
        width: 100%;
        justify-content: center;
        height: 44px;
        border-radius: 12px;
    }
    
    .error-msg {
        text-align: center;
        padding-left: 0;
    }
    
    .store-address {
        font-size: 0.75rem;
        text-align: center;
        line-height: 1.4;
    }
}
