/* MySera Casa - Luxury Coming Soon Theme */

/* CSS Variables for Luxury Theme Colors */
:root {
    /* MySera Casa palette: elegant golds, deep navy, warm creams */
    --primary-gradient: linear-gradient(135deg, #D4AF37 0%, #FFD700 50%, #B8860B 100%);
    --secondary-gradient: linear-gradient(135deg, #1a237e 0%, #283593 50%, #3949ab 100%);
    --accent-gradient: linear-gradient(135deg, #8B4513 0%, #A0522D 50%, #CD853F 100%);
    --background-gradient: linear-gradient(135deg, #faf8f3 0%, #f5f2e8 50%, #ede8d8 100%);
    
    --primary-color: #D4AF37;     /* elegant gold */
    --secondary-color: #1a237e;   /* deep navy */
    --accent-color: #8B4513;      /* warm brown */
    --text-primary: #2c2c2c;
    --text-secondary: #4a4a4a;
    --text-muted: #6b6b6b;
    --text-light: #8a8a8a;
    
    --bg-primary: #faf8f3;
    --bg-secondary: #f5f2e8;
    --bg-tertiary: #ede8d8;
    --bg-card: rgba(255, 255, 255, 0.9);
    
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-bg-strong: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(212, 175, 55, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(26, 35, 126, 0.1);
    --glass-shadow-strong: 0 20px 40px 0 rgba(26, 35, 126, 0.15);
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--background-gradient);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Animated Background Elements */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

/* Geometric Shapes */
.geometric-shape {
    position: absolute;
    opacity: 0.08;
    animation: geometricFloat 20s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    background: var(--primary-gradient);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: var(--secondary-gradient);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    top: 60%;
    right: -5%;
    animation-delay: 7s;
}

.shape-3 {
    width: 180px;
    height: 180px;
    background: var(--accent-gradient);
    border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
    bottom: 20%;
    left: 10%;
    animation-delay: 14s;
}

@keyframes geometricFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }
    33% {
        transform: translateY(-30px) rotate(5deg) scale(1.05);
    }
    66% {
        transform: translateY(20px) rotate(-3deg) scale(0.95);
    }
}

/* Floating Elements */
.floating-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    animation: elementFloat 25s ease-in-out infinite;
}

.element-1 {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.05) 70%, transparent 100%);
    top: 20%;
    right: 15%;
    animation-delay: 0s;
}

.element-2 {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(26, 35, 126, 0.15) 0%, rgba(26, 35, 126, 0.03) 70%, transparent 100%);
    bottom: 30%;
    left: 20%;
    animation-delay: 8s;
}

.element-3 {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(139, 69, 19, 0.18) 0%, rgba(139, 69, 19, 0.04) 70%, transparent 100%);
    top: 50%;
    right: 30%;
    animation-delay: 16s;
}

@keyframes elementFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
    }
    33% {
        transform: translateY(-25px) translateX(15px) scale(1.1);
    }
    66% {
        transform: translateY(15px) translateX(-10px) scale(0.9);
    }
}

/* Particles */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.4;
    animation: particleFloat 30s linear infinite;
}

.particle:nth-child(1) {
    left: 15%;
    animation-delay: 0s;
    background: var(--primary-color);
}

.particle:nth-child(2) {
    left: 35%;
    animation-delay: 6s;
    background: var(--secondary-color);
}

.particle:nth-child(3) {
    left: 55%;
    animation-delay: 12s;
    background: var(--accent-color);
}

.particle:nth-child(4) {
    left: 75%;
    animation-delay: 18s;
    background: var(--primary-color);
}

.particle:nth-child(5) {
    left: 85%;
    animation-delay: 24s;
    background: var(--secondary-color);
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--spacing-xxl) 0;
    position: relative;
}

.hero-content {
    animation: fadeInUp 1.5s ease-out;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--glass-bg-strong);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--glass-shadow);
    transition: all 0.3s ease;
}

.status-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--glass-shadow-strong);
    background: var(--glass-bg-strong);
}

.status-dot {
    width: 10px;
    height: 10px;
    background: var(--primary-gradient);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.3);
    }
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3.5rem, 12vw, 7rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 6s ease-in-out infinite;
    position: relative;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--spacing-xl);
    line-height: 1.7;
    font-weight: 400;
    font-style: italic;
    opacity: 0.9;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-bottom: var(--spacing-xxl);
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: var(--border-radius-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    min-width: 200px;
    justify-content: center;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
    color: white;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(20px);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: var(--glass-shadow);
}

.btn-secondary:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--glass-shadow-strong);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --spacing-xl: 2rem;
        --spacing-xxl: 3rem;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 10vw, 5rem);
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .shape-1, .shape-2, .shape-3 {
        transform: scale(0.7);
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: var(--spacing-lg) 0;
    }
    
    .status-badge {
        font-size: 0.9rem;
        padding: var(--spacing-xs) var(--spacing-md);
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 var(--spacing-sm);
    }
    
    .btn-primary,
    .btn-secondary {
        padding: var(--spacing-sm) var(--spacing-lg);
        font-size: 1rem;
        min-width: 180px;
    }
}

/* Accessibility & Performance */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .geometric-shape, .floating-element, .particle {
        animation: none;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --text-primary: #f5f5f5;
        --text-secondary: #e0e0e0;
        --text-muted: #b0b0b0;
        --text-light: #909090;
        --bg-primary: #1a1a1a;
        --bg-secondary: #2a2a2a;
        --bg-tertiary: #3a3a3a;
        --background-gradient: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #3a3a3a 100%);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-gradient);
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: white;
}

::-moz-selection {
    background: var(--primary-color);
    color: white;
}

/* Additional Luxury Effects */
.hero-title::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(212, 175, 55, 0.1) 50%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0%, 100% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
}

/* Enhanced Button Effects */
.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-secondary:active {
    transform: translateY(-1px) scale(0.98);
}

/* Focus States for Accessibility */
.btn-primary:focus,
.btn-secondary:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading State */
.btn-primary.loading {
    opacity: 0.8;
    pointer-events: none;
}

.btn-primary.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}