/* ==========================================================================
   Cora Brands - Coming Soon Page Styles
   Mobile-first responsive design with Italian-inspired colors
   ========================================================================== */

/* Cora Brand Styleguide Color Palette */
:root {
    --navy-blue: #202549;        /* Dark navy blue background */
    --cream: #f5f5dc;            /* Cream/off-white */
    --bright-yellow: #FFD700;    /* Bright yellow for CORA text */
    --vibrant-red: #DC143C;      /* Vibrant red for roses */
    --subtle-green: #228B22;     /* Green for rose leaves */
    --peachy-cream: #FFE4B5;     /* Peachy cream for skin */
    --soft-cream: #F6EED0;       /* Soft cream for text */
    --warm-beige: #F5DEB3;       /* Warm beige for accents */
    --gold-accent: #DAA520;      /* Gold accent */
    --light-cream: #FFF8DC;      /* Light cream for highlights */
}

/* CSS Reset e Base Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Quattrocento Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--cream);
    background: linear-gradient(135deg, var(--navy-blue) 0%, #0f1419 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Skip Link per Accessibilità */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 6px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ==========================================================================
   Header Styles
   ========================================================================== */

.header {
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.98) 0%, rgba(15, 20, 25, 1) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 3px solid var(--bright-yellow);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 0;
    transform: translateY(-100%);
    transition: all 0.4s ease;
    opacity: 0;
}

.header.visible {
    transform: translateY(0);
    opacity: 1;
}

.header.minimal {
    padding: 0.75rem 0;
    background: linear-gradient(135deg, var(--navy-blue) 0%, #0f1419 100%);
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.logo-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--bright-yellow) 0%, transparent 70%);
    opacity: 0.2;
    border-radius: 50%;
    z-index: -1;
}

.logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border-radius: 12px;
    transition: all 0.4s ease;
    filter: drop-shadow(0 4px 8px rgba(255, 215, 0, 0.5));
    border: 3px solid var(--bright-yellow);
    padding: 5px;
    background: linear-gradient(160deg, #1a1f3a 0%, var(--light-cream) 100%);
}

.header.minimal .logo {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    border: 3px solid var(--bright-yellow);
    padding: 4px;
    background: linear-gradient(160deg, #1a1f3a 0%, var(--light-cream) 100%);
}

.logo:hover {
    transform: scale(1.1) rotate(2deg);
    filter: drop-shadow(0 6px 12px rgba(255, 215, 0, 0.7));
    border-color: var(--gold-accent);
}

/* Brand name styles removed - header now contains only logo */

/* ==========================================================================
   Main Content Styles
   ========================================================================== */

.main-content {
    margin-top: 0;
    padding: 2rem 0;
    transition: margin-top 0.4s ease;
}

.main-content.with-header {
    margin-top: 80px;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 2rem 0 4rem 0;
    animation: fadeInUp 1s ease-out;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Large Logo Section */
.large-logo-section {
    text-align: center;
    margin: 0.5rem 0 3rem 0;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.large-logo {
    width: 300px;
    height: 300px;
    object-fit: contain;
    border-radius: 20px;
    filter: drop-shadow(0 8px 20px rgba(255, 215, 0, 0.4));
    border: 4px solid var(--bright-yellow);
    padding: 10px;
    background: linear-gradient(160deg, #1a1f3a 0%, var(--light-cream) 100%);
    margin: 0 auto 2rem auto;
    transition: all 0.4s ease;
}

.large-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 12px 30px rgba(255, 215, 0, 0.6));
}

.main-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #f9dc00; /* Giallo specifico per Coming Soon */
    margin-bottom: 0.5rem;
    line-height: 1.1;
    animation: fadeInUp 1s ease-out 0.4s both;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Brand title and subtitle styles removed */

.description {
    font-size: 1.25rem;
    color: var(--soft-cream);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.6s both;
    font-weight: 500;
    text-align: center;
    line-height: 1.6;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.feature-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, rgba(245, 245, 220, 0.9) 0%, rgba(246, 238, 208, 0.8) 100%);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2);
    transition: all 0.4s ease;
    border: 2px solid var(--bright-yellow);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--subtle-green) 0%, var(--cream) 50%, var(--vibrant-red) 100%);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.3);
    border-color: var(--gold-accent);
    background: linear-gradient(135deg, rgba(255, 248, 220, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.feature-item:nth-child(1) {
    border-color: var(--subtle-green);
}

.feature-item:nth-child(2) {
    border-color: var(--cream);
}

.feature-item:nth-child(3) {
    border-color: var(--vibrant-red);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: bounce 2s infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.feature-icon svg {
    width: 48px;
    height: 32px;
    border-radius: 4px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    animation: bounce 2s infinite;
}

.feature-item:nth-child(2) .feature-icon {
    animation-delay: 0.2s;
}

.feature-item:nth-child(3) .feature-icon {
    animation-delay: 0.4s;
}

.feature-item p {
    font-weight: 600;
    color: var(--navy-blue);
    font-size: 1.1rem;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   Contact Section Styles
   ========================================================================== */

.contact-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(245, 245, 220, 0.95) 0%, rgba(246, 238, 208, 0.9) 100%);
    margin-top: 3rem;
    border-radius: 30px;
    animation: fadeInUp 1s ease-out 1s both;
    border: 3px solid var(--subtle-green);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--subtle-green) 0%, var(--cream) 50%, var(--vibrant-red) 100%);
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    background: linear-gradient(135deg, var(--subtle-green) 0%, var(--vibrant-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '✉️';
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--navy-blue);
    margin-bottom: 2.5rem;
    font-weight: 500;
}

/* Form Styles */
.contact-form {
    text-align: left;
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--subtle-green);
    background: var(--light-cream);
    box-shadow: 0 0 0 4px rgba(34, 139, 34, 0.2);
    transform: translateY(-2px);
}

.form-input.error,
.form-textarea.error {
    border-color: var(--vibrant-red);
    background: rgba(220, 20, 60, 0.05);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.error-text {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Submit Button */
.submit-button {
    width: 100%;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, var(--vibrant-red) 0%, var(--bright-yellow) 100%);
    color: white;
    border: 3px solid var(--bright-yellow);
    border-radius: 15px;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.submit-button::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 ease;
}

.submit-button:hover:not(:disabled)::before {
    left: 100%;
}

.submit-button:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--subtle-green) 0%, var(--vibrant-red) 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(34, 139, 34, 0.4);
    border-color: var(--subtle-green);
}

.submit-button:active {
    transform: translateY(0);
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.button-loading {
    display: none;
}

.submit-button.loading .button-text {
    display: none;
}

.submit-button.loading .button-loading {
    display: inline;
}

/* Success Message */
.success-message {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(46, 204, 113, 0.2);
    animation: successPulse 0.6s ease-out;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: checkmark 0.8s ease-out;
}

.success-message h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.success-message p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Alert Messages */
.alert {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: fadeInDown 0.5s ease-out;
}

.alert-success {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    border-left: 4px solid #1e8449;
}

.alert-error {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border-left: 4px solid #a93226;
}

.alert-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.alert-content {
    flex: 1;
}

.alert-content strong {
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

/* Error Messages */
.error-message {
    background: #dc3545;
    color: white;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Checkbox Labels */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.checkbox-label:hover {
    border-color: var(--bright-yellow);
    background: rgba(249, 220, 0, 0.05);
}

.checkbox-label input[type="checkbox"] {
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    transform: scale(1.2);
}

.checkbox-text {
    line-height: 1.5;
    color: #333;
}

.checkbox-text a {
    color: #FFD700;
    text-decoration: none;
    font-weight: 500;
}

.checkbox-text a:hover {
    text-decoration: underline;
}

.general-error {
    text-align: center;
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */

.footer {
    background: linear-gradient(135deg, var(--navy-blue) 0%, #0f1419 100%);
    color: var(--cream);
    padding: 3rem 0;
    text-align: center;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--subtle-green) 0%, var(--cream) 50%, var(--vibrant-red) 100%);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #FFD700;
}

.copyright {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid transparent;
}

.footer-link:hover {
    color: var(--cream);
    background: var(--vibrant-red);
    border-color: var(--subtle-green);
    transform: translateY(-2px);
}

/* ==========================================================================
   Animations
   ========================================================================== */

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

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translateY(0);
    }
    40%, 43% {
        transform: translateY(-8px);
    }
    70% {
        transform: translateY(-4px);
    }
    90% {
        transform: translateY(-2px);
    }
}

@keyframes successPulse {
    0% {
        transform: scale(0.95);
        opacity: 0;
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes checkmark {
    0% {
        transform: scale(0) rotate(45deg);
    }
    50% {
        transform: scale(1.2) rotate(45deg);
    }
    100% {
        transform: scale(1) rotate(45deg);
    }
}

/* ==========================================================================
   Responsive Design - Mobile First
   ========================================================================== */

/* Small screens (phones) */
@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.25rem;
    }
    
    .description {
        font-size: 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-item {
        padding: 1.25rem;
    }
    
    .logo {
        width: 40px;
        height: 40px;
    }
    
    .brand-name {
        font-size: 1.5rem;
    }
}

/* Medium screens (tablets) */
@media (min-width: 481px) and (max-width: 768px) {
    .main-title {
        font-size: 2.25rem;
    }
    
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-form {
        padding: 2rem;
    }
}

/* Large screens (desktops) */
@media (min-width: 769px) {
    .main-title {
        font-size: 3rem;
    }
    
    .subtitle {
        font-size: 1.75rem;
    }
    
    .description {
        font-size: 1.25rem;
    }
    
    .features {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Extra large screens */
@media (min-width: 1200px) {
    .main-title {
        font-size: 3.5rem;
    }
    
    .hero-section {
        padding: 5rem 0;
    }
    
    .contact-section {
        padding: 5rem 0;
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .header,
    .contact-form,
    .footer {
        display: none;
    }
    
    .main-content {
        margin-top: 0;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero-section {
        page-break-inside: avoid;
    }
}

/* ==========================================================================
   Accessibility Improvements
   ========================================================================== */

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .form-input,
    .form-textarea {
        border-width: 3px;
    }
    
    .submit-button {
        border: 2px solid currentColor;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
        color: #e0e0e0;
    }
    
    .header {
        background: rgba(30, 30, 30, 0.95);
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }
    
    .brand-name,
    .main-title,
    .section-title {
        color: #ffffff;
    }
    
    .description,
    .section-description {
        color: #b0b0b0;
    }
    
    .feature-item {
        background: rgba(40, 40, 40, 0.8);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .contact-section {
        background: rgba(30, 30, 30, 0.5);
    }
    
    .contact-form {
        background: #2d2d2d;
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .form-input,
    .form-textarea {
        background: #3a3a3a;
        border-color: rgba(255, 255, 255, 0.2);
        color: #ffffff;
    }
    
    .form-input:focus,
    .form-textarea:focus {
        background: #404040;
        border-color: #e74c3c;
    }
}
