/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* Custom CSS Variables */
:root {
    --wedding-pink: #FF6B6B;
    --wedding-purple: #8E44AD;
    --wedding-gold: #F39C12;
    --wedding-light: #F8F9FA;
    --wedding-dark: #2C3E50;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-10px) rotate(1deg);
    }

    66% {
        transform: translateY(5px) rotate(-1deg);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animation Classes */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.animation-delay-300 {
    animation-delay: 0.3s;
}

.animation-delay-600 {
    animation-delay: 0.6s;
}

.animation-delay-900 {
    animation-delay: 0.9s;
}

.floating-element {
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(2) {
    animation-delay: -2s;
}

.floating-element:nth-child(3) {
    animation-delay: -4s;
}

.floating-element:nth-child(4) {
    animation-delay: -1s;
}

/* Hero Section Background Animation */
.hero-bg-animated {
    background: linear-gradient(-45deg, var(--wedding-pink), #e73c7e, var(--wedding-purple), #9b59b6);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

/* Custom Hover Effects */
.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Search Bar Enhancements */
.search-input:focus {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(142, 68, 173, 0.2);
}

/* Form Enhancements */
select:focus,
input:focus {
    outline: none;
    border-color: var(--wedding-purple);
    box-shadow: 0 0 0 3px rgba(142, 68, 173, 0.1);
}

/* Button Hover Effects */
.btn-gradient {
    background: linear-gradient(135deg, var(--wedding-pink), var(--wedding-purple));
    position: relative;
    overflow: hidden;
}

.btn-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-gradient:hover::before {
    left: 100%;
}

/* Navigation Enhancements */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Card Hover Effects */
.feature-card {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    border-color: var(--wedding-purple);
    box-shadow: 0 15px 35px rgba(142, 68, 173, 0.1);
}

/* Loading Animation */
.loading-dots {
    display: inline-block;
}

.loading-dots::after {
    content: '';
    animation: pulse 1.5s infinite;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .animate-fade-in-up {
        animation-duration: 0.6s;
    }

    .floating-element {
        animation-duration: 4s;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--wedding-light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--wedding-pink), var(--wedding-purple));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(var(--wedding-purple), var(--wedding-pink));
}



/* Dropdown Arrow Animation */
.dropdown-arrow {
    transition: transform 0.3s ease;
}

.dropdown-open .dropdown-arrow {
    transform: rotate(180deg);
}

/* Text Selection */
::selection {
    background: var(--wedding-pink);
    color: white;
}

::-moz-selection {
    background: var(--wedding-pink);
    color: white;
}

/* Image Hover Effects */
.image-hover {
    transition: all 0.3s ease;
    overflow: hidden;
}

.image-hover:hover img {
    transform: scale(1.1);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--wedding-pink), var(--wedding-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Loading States */
.btn-loading {
    position: relative;
    color: transparent;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Parallax Effect */
.parallax {
    transform: translateZ(0);
    will-change: transform;
}

/* Smooth Transitions */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* Focus States for Accessibility */
button:focus,
a:focus,
input:focus,
select:focus {
    outline: 2px solid var(--wedding-purple);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .no-print {
        display: none;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --wedding-pink: #D63384;
        --wedding-purple: #6F42C1;
        --wedding-dark: #000000;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@layer utilities {
    .oval-shape {
        border-radius: 999px / 80%;
    }

    .arch-shape-top {
        clip-path: ellipse(50% 60% at 50% 35%);
    }

    .arch-shape-bottom {
        clip-path: ellipse(50% 60% at 50% 65%);
    }


}


/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 250px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid #e5e7eb;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 12px 20px;
    color: #374151;
    text-decoration: none;
    display: block;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f3f4f6;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, #FF6B6B, #8E44AD);
    color: white;
    transform: translateX(5px);
}

.dropdown-item:last-child {
    border-bottom: none;
}

/* Gradient Border Button */
.gradient-border-btn {
    position: relative;
    background: white;
    border: 2px solid transparent;
    border-radius: 25px;
    padding: 12px 24px;
    font-weight: 600;
    background-clip: padding-box;
    transition: all 0.3s ease;
}

.gradient-border-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    margin: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, #FF6B6B, #8E44AD, #F39C12);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

.gradient-border-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gradient-text {
    background: linear-gradient(135deg, #FF6B6B, #8E44AD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.carousel-container {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .carousel-slide {
        min-width: 50%;
    }
}

@media (min-width: 1024px) {
    .carousel-slide {
        min-width: 33.333333%;
    }
}

@media (min-width: 1280px) {
    .carousel-slide {
        min-width: 25%;
    }
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 10;
}

.nav-button:hover {
    background: #f9fafb;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.nav-button.prev {
    left: -24px;
}

.nav-button.next {
    right: -24px;
}

.rating-star {
    color: #fbbf24;
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}


/*  */
.hero-slide {
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    z-index: 10;
}

.hero-slide:not(.active) {
    opacity: 0;
    z-index: 0;
}