/* Revlon Fragrances Matric Dance Competition Styles */

/* Import Fonts */
@font-face {
    font-family: 'Gotham';
    src: url('./Fonts/Gotham-Medium.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham';
    src: url('./Fonts/Gotham-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham';
    src: url('./Fonts/Gotham-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham';
    src: url('./Fonts/Gotham-MediumItalic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Gotham';
    src: url('./Fonts/Gotham-UltraItalic.otf') format('opentype');
    font-weight: 800;
    font-style: italic;
}

:root {
    --primary-color: #051b36;
    --secondary-color: #E30138;
    --accent-color: #FFD700;
    --dark-color: #051b36;
    --light-color: #F0F8FF;
    --text-color: #2C2C2C;
    --border-color: #E5E5E5;
    --success-color: #051b36;
    --shadow: 0 4px 20px rgba(5, 27, 54, 0.15);
    --shadow-hover: 0 8px 30px rgba(5, 27, 54, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Gotham', 'Poppins', sans-serif;
    background: #fff5f7;
    color: var(--text-color);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.background-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    position: relative;
    z-index: 1;
    overflow-x: hidden;
}

/* Header */
.header {
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 30px;
}

.logo-section {
    display: inline-block;
}

.brand-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    filter: drop-shadow(2px 2px 8px rgba(227, 1, 56, 0.3));
}

.tagline {
    font-size: 1.1em;
    color: #FFFFFF;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Screen Management */
.screen {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.screen.active {
    display: block;
}

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

/* Welcome Screen */
.hero-content {
    background: transparent;
    border-radius: 0;
    padding: 0;
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
}

/* Hero Section with Diagonal Background */
.hero-section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 50px 40px 40px;
    overflow: visible;
    background: linear-gradient(110deg, #f7adc3 0%, #f7adc3 48%, #051b36 48%, #051b36 100%);
}

/* Hero Logo */
.hero-logo {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 15px;
    animation: fadeInDown 0.8s ease-out;
}

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

.revlon-logo {
    max-width: 280px;
    width: 100%;
    height: auto;
    margin: 0 auto 10px;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.hero-subheading {
    font-family: 'Gotham', 'Poppins', sans-serif;
    font-size: 2em;
    font-weight: 700;
    color: white;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin: 25px 0 0 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 4;
}

/* Scroll Arrow */
.scroll-arrow {
    margin-top: 20px;
    color: white;
    font-size: 1.5em;
    animation: bounceArrow 2s ease-in-out infinite;
    opacity: 0.9;
}

.scroll-arrow i {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

@keyframes bounceArrow {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(10px);
    }
    60% {
        transform: translateY(5px);
    }
}

/* Hero Main Content - Asset and Bottles together */
.hero-main-visual {
    position: relative;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

/* Creative Image Styling */
.hero-creative-image {
    position: relative;
    z-index: 2;
    animation: fadeInDown 0.8s ease-out 0.3s both;
}

.take-scent-stage {
    max-width: 600px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.3));
}

/* Hero Bottles */
.hero-bottles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 3;
    width: 1100px;
    max-width: 95%;
    pointer-events: none;
}

.bottle-left,
.bottle-right {
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.35));
    animation: fadeInUp 1s ease-out 0.5s both;
    pointer-events: auto;
}

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

.bottle-right {
    animation-delay: 0.7s;
}

/* Legacy hero-image (hidden now) */
.hero-image {
    display: none;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8em;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.prize-visual {
    /* background: linear-gradient(135deg, #fff5f7 0%, #FFFFFF 100%); */
    padding: 40px;
    /* border-radius: 15px; */
    margin-bottom: 30px;
    /* border: 3px solid #051b36;
    border-left: 5px solid #f7adc3; */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.prize-icon {
    font-size: 4em;
    margin-bottom: 15px;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
    50% { transform: scale(1.1) rotate(5deg); opacity: 0.8; }
}

.prize-title {
    font-family: 'Gotham', 'Poppins', sans-serif;
    font-size: 1.8em;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.prize-list {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
}

.prize-list li {
    font-size: 1.2em;
    padding: 12px 20px;
    margin-bottom: 10px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    font-weight: 600;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.prize-list li i {
    font-size: 1.1em;
    width: 24px;
    text-align: center;
}

.prize-list li:nth-child(1) i {
    color: #E30138;
}

.prize-list li:nth-child(2) i {
    color: #9333EA;
}

.prize-list li:nth-child(3) i {
    color: #f7adc3;
}

.prize-list li:nth-child(4) i {
    color: #051b36;
}

.hero-description {
    font-size: 1.15em;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 30px;
}

.hero-cta {
    padding: 20px 30px 40px;
    text-align: center;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    padding: 18px 45px;
    font-size: 1.15em;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: 'Gotham', 'Poppins', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, #bb3d67 0%, #9a2d52 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(187, 61, 103, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(187, 61, 103, 0.5);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 3px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.terms-link {
    margin-top: 20px;
    font-size: 0.95em;
    padding: 0 30px;
}

.terms-link a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.terms-link a:hover {
    color: #f7adc3;
}

/* Entry Form */
.form-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Progress Indicator */
.progress-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
    position: relative;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--border-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3em;
    transition: all 0.3s ease;
}

.progress-step.active .step-number {
    background: var(--primary-color);
    box-shadow: 0 4px 15px rgba(227, 1, 56, 0.4);
    transform: scale(1.1);
}

.progress-step.completed .step-number {
    background: var(--accent-color);
    color: var(--dark-color);
}

.step-label {
    font-size: 0.9em;
    color: var(--dark-color);
    font-weight: 700;
}

.progress-line {
    width: 100px;
    height: 4px;
    background: var(--border-color);
    position: relative;
    z-index: 1;
}

/* Form Steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: slideIn 0.4s ease;
}

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

.form-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2em;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-align: center;
}

.form-description {
    text-align: center;
    color: var(--text-color);
    margin-bottom: 30px;
    font-size: 1.05em;
}

/* Upload Section */
.upload-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.upload-box {
    position: relative;
}

.upload-label {
    display: block;
    padding: 40px 20px;
    border: 3px dashed var(--border-color);
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--light-color);
}

.upload-label:hover {
    border-color: var(--primary-color);
    background: white;
    transform: translateY(-2px);
}

.upload-icon {
    font-size: 3em;
    margin-bottom: 15px;
    color: #f7adc3;
}

.upload-icon i {
    transition: transform 0.3s ease, color 0.3s ease;
}

.upload-label:hover .upload-icon i {
    color: #051b36;
    transform: scale(1.1);
}

.upload-label h4 {
    font-size: 1.15em;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.upload-label p {
    font-size: 0.9em;
    color: var(--text-color);
}

.upload-label input[type="file"] {
    display: none;
}

.image-preview {
    display: none;
    margin-top: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.image-preview.show {
    display: block;
}

.image-preview img {
    width: 100%;
    height: auto;
    display: block;
}

.image-preview .remove-image {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(227, 1, 56, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    cursor: pointer;
    font-size: 1.3em;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Form Fields */
.form-fields {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 700;
    color: var(--dark-color);
    font-size: 0.95em;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1em;
    font-family: 'Gotham', 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background-color: white;
    color: var(--dark-color);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E30138' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 20px;
    padding-right: 50px;
    cursor: pointer;
}

.form-group select:hover {
    border-color: var(--primary-color);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(227, 1, 56, 0.1);
}

.checkbox-group {
    margin-top: 20px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.95em;
    line-height: 1.6;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    width: 22px;
    height: 22px;
    cursor: pointer;
}

.checkbox-label a {
    color: var(--primary-color);
    font-weight: 600;
}

/* Form Buttons */
.form-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

/* Review Section */
.review-section {
    margin-bottom: 30px;
}

.review-item {
    margin-bottom: 30px;
    padding: 25px;
    background: var(--light-color);
    border-radius: 10px;
}

.review-item h4 {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.review-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.review-photos img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

#reviewDetails {
    display: grid;
    gap: 10px;
}

#reviewDetails p {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

#reviewDetails strong {
    color: var(--dark-color);
    font-weight: 700;
}

/* Success Screen */
.success-content {
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: var(--shadow);
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.success-icon {
    font-size: 6em;
    margin-bottom: 20px;
    animation: bounce 1s ease;
}

.success-icon i {
    color: #22c55e;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-30px); }
    60% { transform: translateY(-15px); }
}

.success-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5em;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.success-message {
    font-size: 1.15em;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text-color);
}

.success-details {
    background: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.success-details p {
    margin-bottom: 10px;
    font-size: 1.1em;
}

#entryReference {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.3em;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-hover);
    margin: 20px;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2.5em;
    font-weight: bold;
    color: var(--text-color);
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--primary-color);
}

.terms-content h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.terms-content h3 {
    color: var(--primary-color);
    font-weight: 700;
    margin: 20px 0 10px;
}

.terms-content h4 {
    color: var(--dark-color);
    font-weight: 700;
    margin: 15px 0 10px;
}

.terms-content p,
.terms-content ul {
    margin-bottom: 15px;
    line-height: 1.8;
}

.terms-content ul {
    padding-left: 25px;
}

.terms-content li {
    margin-bottom: 8px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px 20px;
    color: #FFFFFF;
    font-size: 0.95em;
    margin-top: 50px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0px;
    }

    .brand-logo {
        max-width: 280px;
    }

    .tagline {
        font-size: 0.85em;
        letter-spacing: 2px;
    }

    .hero-content {
        padding: 0;
    }
    
    .form-container,
    .success-content {
        padding: 30px 20px;
    }

    .hero-section {
        min-height: 80vh;
        padding: 30px 10px 25px;
        background: linear-gradient(105deg, #f7adc3 0%, #f7adc3 45%, #051b36 45%, #051b36 100%);
    }

    .revlon-logo {
        max-width: 200px;
    }

    .hero-subheading {
        font-size: 1.1em;
        letter-spacing: 3px;
        margin: 15px 0 0 0;
    }

    .hero-main-visual {
        position: relative;
        width: 100vw;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding-top: 20px;
    }

    .take-scent-stage {
        max-width: 300px;
    }

    .hero-bottles {
        position: absolute;
        top: 65%;
        left: 0;
        right: 0;
        transform: translateY(-35%);
        justify-content: space-between;
        padding: 0 10px;
    }

    .bottle-left,
    .bottle-right {
        max-width: 220px;
    }

    .hero-image {
        display: none;
    }

    .hero-title {
        font-size: 2em;
    }

    .prize-title {
        font-size: 1.5em;
    }

    .prize-list li {
        font-size: 1em;
    }

    .upload-section {
        grid-template-columns: 1fr;
    }

    .progress-indicator {
        transform: scale(0.85);
    }

    .progress-line {
        width: 60px;
    }

    .form-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .review-photos {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 25px;
        margin: 10px;
    }
}

@media (max-width: 480px) {
    .brand-logo {
        max-width: 180px;
    }

    .hero-section {
        min-height: 80vh;
        padding: 20px 5px 20px;
        background: linear-gradient(100deg, #f7adc3 0%, #f7adc3 42%, #051b36 42%, #051b36 100%);
    }

    .revlon-logo {
        max-width: 150px;
    }

    .hero-main-visual {
        align-items: flex-start;
        padding-top: 10px;
    }

    .hero-subheading {
        font-size: 0.75em;
        letter-spacing: 2px;
        margin: 12px 0 0 0;
    }

    .take-scent-stage {
        max-width: 220px;
    }

    .hero-bottles {
        top: 60%;
        transform: translateY(-30%);
        padding: 0 5px;
    }

    .bottle-left,
    .bottle-right {
        max-width: 190px;
    }

    .hero-image {
        display: none;
    }

    .hero-title {
        font-size: 1.6em;
    }

    .prize-visual {
        padding: 25px 15px;
    }

    .prize-list li {
        font-size: 0.9em;
        padding: 10px 15px;
    }

    .form-container {
        padding: 20px 15px;
    }

    .progress-indicator {
        transform: scale(0.7);
    }

    .form-title {
        font-size: 1.8em;
    }

    .success-title {
        font-size: 2em;
    }
}

