/* Elegant Wedding Homepage Styles */
:root {
    --primary-color: #b06ab3;
    --secondary-color: #8d99ae;
    --accent-color: #ff9ca4;
    --dark-purple: #5a287d;
    --light-pink: #f9e2e8;
    --light-purple: #e2d7f0;
    --dark-text: #2c3e50;
    --light-text: #f9f9f9;
    --gradient-bg: linear-gradient(135deg, var(--primary-color), #4568dc);
}

/* Main Elements Styling */
body {
    font-family: 'Roboto', sans-serif;
    color: var(--dark-text);
    background-color: #fff;
    overflow-x: hidden;
}

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

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(176, 106, 179, 0.3);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--dark-purple);
    border-color: var(--dark-purple);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(90, 40, 125, 0.4);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.btn-outline-light {
    border-width: 2px;
    font-weight: 500;
    border-radius: 30px;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* Hero Section Styling */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5)), 
                url('https://images.unsplash.com/photo-1511795409834-ef04bbd61622?ixlib=rb-1.2.1&auto=format&fit=crop&w=1500&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    padding: 220px 0 180px;
    margin-top: -76px;
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 100" preserveAspectRatio="none"><path fill="white" d="M0,0 L1440,0 L1440,60 C1080,100 720,30 360,80 L0,60 Z" /></svg>');
    background-size: cover;
    background-position: center top;
}

.decor-flower {
    position: absolute;
    width: 250px;
    height: 250px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="rgba(255,255,255,0.2)" d="M50,20 C60,10 70,20 50,40 C30,20 40,10 50,20 Z M50,20 C40,10 30,20 50,40 C70,20 60,10 50,20 Z M50,60 C60,50 70,60 50,80 C30,60 40,50 50,60 Z M50,60 C40,50 30,60 50,80 C70,60 60,50 50,60 Z M20,50 C10,40 20,30 40,50 C20,70 10,60 20,50 Z M20,50 C10,60 20,70 40,50 C20,30 10,40 20,50 Z M60,50 C50,40 60,30 80,50 C60,70 50,60 60,50 Z M60,50 C50,60 60,70 80,50 C60,30 50,40 60,50 Z"></path></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.6;
    z-index: 1;
}

.top-right {
    top: 50px;
    right: 50px;
    transform: rotate(45deg);
    animation: float 6s ease-in-out infinite;
}

.bottom-left {
    bottom: 100px;
    left: 50px;
    transform: rotate(-45deg);
    animation: float 8s ease-in-out infinite 1s;
}

@keyframes float {
    0% { transform: translateY(0) rotate(45deg); }
    50% { transform: translateY(-20px) rotate(45deg); }
    100% { transform: translateY(0) rotate(45deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeIn 1.5s ease-in-out;
    max-width: 900px;
    margin: 0 auto;
}

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

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
    letter-spacing: 1px;
    line-height: 1.2;
}

.hero-content .lead {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

.wedding-dates {
    animation: fadeIn 2s ease-in-out forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

.wedding-dates .badge {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

/* Section Styling */
section {
    padding: 100px 0;
    position: relative;
}

.bg-light {
    background-color: #f8f9fa;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-purple);
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 50px;
    font-weight: 300;
}

.section-divider {
    margin: 2rem auto;
    position: relative;
    width: 120px;
    text-align: center;
}

.section-divider i {
    color: var(--accent-color);
    font-size: 1.4rem;
    position: relative;
    background: #fff;
    padding: 0 15px;
    z-index: 1;
}

.section-divider:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #ddd;
    z-index: 0;
}

/* Features and Value Proposition Styling */
.animated-element {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease;
}

.animated-element.in-view {
    opacity: 1;
    transform: translateY(0);
}

.feature-box {
    background-color: #fff;
    border-radius: 10px;
    padding: 40px 20px;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.feature-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-bg);
}

.feature-icon {
    margin-bottom: 20px;
    position: relative;
}

.feature-icon.floating {
    animation: float-icon 4s ease-in-out infinite;
}

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

.icon-wrapper {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--light-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 2px dashed var(--primary-color);
}

.feature-box h3 {
    margin: 1.5rem 0 1rem;
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--dark-purple);
}

.feature-box p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

.badge-pill.badge-primary {
    background-color: var(--light-purple);
    color: var(--dark-purple);
    font-weight: 500;
    border: 1px dashed var(--primary-color);
    font-size: 0.8rem;
}

/* Comparison Section */
.comparison-section {
    background-color: #fff;
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.comparison-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 100" preserveAspectRatio="none"><path fill="%23f8f9fa" d="M0,0 L1440,0 L1440,60 C1080,100 720,30 360,80 L0,60 Z" /></svg>');
    background-size: cover;
}

.comparison-heading {
    margin-bottom: 60px;
    position: relative;
}

.vs-text {
    font-size: 5rem;
    font-family: 'Playfair Display', serif;
    color: var(--accent-color);
    opacity: 0.1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.comparison-card {
    border-radius: 15px;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    padding: 30px;
}

.comparison-card.basic {
    background-color: #f8f9fa;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.comparison-card.premium {
    background: linear-gradient(135deg, rgba(176, 106, 179, 0.1), rgba(69, 104, 220, 0.1));
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border: 2px solid rgba(176, 106, 179, 0.3);
}

.comparison-card.premium::before {
    content: "PREMIUM";
    position: absolute;
    top: -15px;
    right: 30px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 20px;
}

.comparison-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.comparison-card.basic .comparison-icon {
    color: var(--secondary-color);
}

.comparison-card.premium .comparison-icon {
    color: var(--primary-color);
}

.comparison-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.comparison-card.premium h3 {
    color: var(--dark-purple);
}

.comparison-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.comparison-list li {
    padding: 10px 0;
    display: flex;
    align-items: flex-start;
    color: #555;
}

.comparison-list i {
    color: #28a745;
    margin-right: 10px;
    margin-top: 4px;
}

.comparison-list i.fa-times {
    color: #dc3545;
}

.comparison-list li.missing {
    color: #aaa;
    text-decoration: line-through;
}

.premium-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--light-purple);
    color: var(--dark-purple);
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(90, 40, 125, 0.2);
    border: 1px dashed var(--primary-color);
}

/* Feature Cards */
.feature-card {
    overflow: hidden;
    border: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-icon-bg {
    background: var(--light-purple);
    color: var(--primary-color);
}

.feature-badge {
    background-color: var(--light-purple);
    color: var(--dark-purple);
    font-weight: 500;
}

/* Testimonials */
#testimonials {
    background-color: var(--light-purple);
    position: relative;
    z-index: 1;
}

.testimonial-box {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 30px;
    height: 100%;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.testimonial-img {
    position: relative;
}

.testimonial-img-border {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    margin: 0 auto;
}

.testimonial-img-border img {
    border-radius: 50%;
    border: 3px solid white;
}

/* New testimonial icon styling */
.testimonial-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonial-icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.testimonial-content {
    position: relative;
    padding: 20px 0;
    z-index: 1;
}

.quotation-mark {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--light-purple);
    font-size: 3rem;
    opacity: 0.7;
    z-index: -1;
    transform: translateY(-50%);
}

.testimonial-author {
    margin-top: 15px;
    text-align: right;
}

.author-name {
    margin-bottom: 0;
    font-weight: 600;
    color: var(--dark-purple);
}

.wedding-rings {
    color: var(--accent-color);
    font-size: 1.5rem;
}

/* CTA Section */
#cta {
    background: linear-gradient(135deg, var(--primary-color), #4568dc);
    color: white;
    position: relative;
    overflow: hidden;
}

#cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2000 1500"><rect fill="none" width="2000" height="1500"/><circle fill-opacity=".2" fill="%23ffffff" cx="1000" cy="750" r="50"/><circle fill-opacity=".2" fill="%23ffffff" cx="1100" cy="850" r="30"/><circle fill-opacity=".2" fill="%23ffffff" cx="900" cy="650" r="70"/><circle fill-opacity=".2" fill="%23ffffff" cx="1200" cy="600" r="20"/><circle fill-opacity=".2" fill="%23ffffff" cx="800" cy="900" r="40"/></svg>');
    opacity: 0.3;
}

#cta .display-4,
#cta .lead {
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

#cta h2.display-4,
#cta p.lead {
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.premium-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.premium-card h3 {
    color: var(--dark-purple);
}

.premium-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    color: var(--dark-text);
}

.premium-features-list li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    color: #505050;
}

.premium-features-list i {
    color: var(--accent-color);
    margin-right: 15px;
}

.cta-steps {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.step-item {
    display: flex;
    align-items: center;
    margin: 15px 0;
}

.step-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #777;
}

.step-info {
    flex: 1;
    color: #505050;
}

.step-info h5 {
    color: var(--dark-purple);
    font-weight: 600;
}

.step-info p {
    color: #666;
}

.step-icon.active {
    background-color: var(--accent-color);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 156, 164, 0.4);
}

.step-divider {
    width: 1px;
    height: 30px;
    background-color: #ddd;
    margin-left: 25px;
}

.wedding-countdown {
    background-color: var(--light-pink);
    color: var(--dark-purple);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content .lead {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 150px 0 100px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .comparison-card {
        margin-bottom: 30px;
    }
}

/* Enhanced Features & USP Styling */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-item {
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 30px;
    transition: all 0.3s ease;
    border-top: 3px solid transparent;
}

.feature-item:hover {
    transform: translateY(-10px);
    border-top: 3px solid var(--primary-color);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.usp-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.usp-title {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-purple);
}

/* Interactive Elements */
.interactive-element {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    padding: 0;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.interactive-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    color: white;
}

.interactive-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-size: cover;
    background-position: center;
    filter: brightness(0.7);
    transition: all 0.5s ease;
}

.interactive-element:hover .interactive-bg {
    transform: scale(1.1);
    filter: brightness(0.5);
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease forwards;
}

.fade-in-up {
    animation: fadeInUp 1s ease forwards;
}

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

/* Highlight Box */
.highlight-box {
    padding: 30px;
    border-radius: 10px;
    background: var(--light-purple);
    border-left: 5px solid var(--primary-color);
    margin-bottom: 30px;
}

.ribbon {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--primary-color);
    color: white;
    padding: 5px 30px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* QR Code Display */
.qr-display {
    flex: 1;
    min-width: 200px;
    padding: 15px;
    text-align: center;
    position: relative;
}

.qr-code-display {
    position: relative;
    z-index: 1;
    width: 180px;
    height: 180px;
    border: 10px solid white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.qr-frame {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 210px;
    height: 210px;
    border: 2px dashed var(--primary-color);
    z-index: 0;
}

/* QR Benefits List Styling - Centered */
.qr-benefits {
    flex: 1;
    min-width: 200px;
    padding: 15px;
    text-align: center;
}

.qr-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.wedding-features-list {
    list-style: none;
    padding: 0;
    margin: 20px auto 0;
    display: inline-block;
    text-align: left;
}

.wedding-features-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.wedding-features-list li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--dark-purple);
}
