/* Custom Variables */
:root {
    --color-gold: #FFD700;
    --color-black: #000000;
    --color-white: #ffffff;
    --color-gray: #1a1a1a;
    --color-red: #e60000;
    --text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Improve text readability */
.text-white {
    text-shadow: var(--text-shadow);
}

.text-gold {
    color: var(--color-gold) !important;
    text-shadow: var(--text-shadow);
}

.bg-black-gold {
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.8));
}

/* Global Styles */
body {
    font-family: 'Montserrat', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

/* Flashing Text Animation */
@keyframes flashingText {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.02); }
    100% { opacity: 1; transform: scale(1); }
}

.flashing-text {
    animation: flashingText 2s infinite;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    background: linear-gradient(45deg, var(--color-gold), #b38728);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Dress Showcase Section */
.dress-showcase {
    position: relative;
    overflow: hidden;
}

.dress-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(212, 175, 55, 0.1), rgba(0, 0, 0, 0.05));
    pointer-events: none;
}

.dress-showcase img {
    transition: transform 0.3s ease;
}

.dress-showcase img:hover {
    transform: scale(1.02);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../assets/images/IMG_9707.PNG');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.5) 100%);
}

@media (max-width: 768px) {
    .hero {
        background-position: 70% center;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(0, 0, 0, 0.9),
        rgba(212, 175, 55, 0.1)
    );
    opacity: 0.9;
}

.hero-dress-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
}

.hero-dress {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: floatDress 6s ease-in-out infinite;
}

.hero-dress-badge {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    transform: rotate(-5deg);
    animation: pulse 2s infinite;
}

@keyframes floatDress {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

@media (max-width: 991px) {
    .hero {
        min-height: auto;
        padding: 4rem 0;
    }
    
    .hero-content {
        padding: 2rem 0;
    }

    .hero-dress-container {
        padding: 1rem;
    }

    .hero-dress {
        max-width: 90%;
        margin: 0 auto;
    }

    .hero-dress-badge {
        bottom: 1rem;
        right: 1rem;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 15vh;
}

.hero-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--color-gold);
    box-shadow: 0 0 10px var(--color-gold);
}

.hero-badge {
    background: linear-gradient(45deg, var(--color-gold), #b38728);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(212,175,55,0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(212,175,55,0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 20px rgba(212,175,55,0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(212,175,55,0.3);
    }
}

.uk-flag {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 60px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    animation: flagWave 3s ease-in-out infinite;
}

@keyframes flagWave {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Intro Section */
.intro {
    padding: 4rem 0;
}

.intro-image-container {
    position: relative;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.intro-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.intro-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(45deg, var(--color-gold), #b38728);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    color: var(--color-black);
}

.intro-content {
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 0;
}

@media (max-width: 991px) {
    .intro-content {
        min-height: auto;
        padding: 2rem 0;
        text-align: center;
    }
    
    .intro-content .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

.intro-content h2 {
    margin-bottom: 1.5rem;
}

.intro-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

@media (max-width: 991px) {
    .intro-image-container {
        margin-bottom: 2rem;
        height: 300px;
    }
    .intro-content {
        height: auto;
        text-align: center;
        padding: 2rem 0;
    }
}

/* Registration CTA */
.registration-cta {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 10px;
    border-left: 3px solid var(--color-gold);
}

/* Custom Buttons */
.btn-gold {
    background-color: var(--color-gold);
    color: var(--color-black);
    border: 2px solid var(--color-gold);
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background-color: transparent;
    color: var(--color-gold);
}

/* Section Backgrounds */
.bg-black-gold {
    background: linear-gradient(45deg, var(--color-black), var(--color-gray));
}

.bg-gold {
    background-color: var(--color-gold);
}

/* Custom Text Colors */
.text-gold {
    color: var(--color-gold) !important;
}

/* Card Styles */
.border-gold {
    border: 2px solid var(--color-gold);
}

.card {
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
}

/* Carousel Customization */
.carousel-item {
    height: 500px;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
}

.carousel-caption {
    background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.8));
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2rem;
}

.carousel-indicators [data-bs-target] {
    background-color: var(--color-gold);
}

/* Custom Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* Add this to your existing CSS */

/* Custom Video Player */
.video-container {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--color-gold), #b38728);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.play-button::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 0 15px 25px;
    border-color: transparent transparent transparent var(--color-black);
    margin-left: 5px;
}

.video-container:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 30px rgba(212,175,55,0.4);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.3), transparent);
    transition: all 0.3s ease;
}

.video-container:hover .video-overlay {
    background: linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.1));
}
