/* CSS Custom Properties */
:root {
    --primary-color: 340 65% 55%; /* #D63384 - Rose Pink */
    --secondary-color: 15 70% 60%; /* #E67E22 - Warm Orange */
    --accent-color: 45 85% 65%; /* #F39C12 - Golden Yellow */
    --background: 0 0% 98%; /* #FAFAFA - Off White */
    --surface: 0 0% 100%; /* #FFFFFF - Pure White */
    --text-primary: 220 15% 20%; /* #2C3E50 - Dark Blue Gray */
    --text-secondary: 210 10% 45%; /* #6C757D - Medium Gray */
    --text-light: 210 5% 65%; /* #9CA3AF - Light Gray */
    --border-color: 210 20% 90%; /* #E5E7EB - Light Border */
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, hsl(var(--primary-color)), hsl(var(--secondary-color)));
    --gradient-light: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: hsl(var(--background));
    color: hsl(var(--text-primary));
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
    margin-bottom: 1rem;
    color: hsl(var(--text-secondary));
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: hsl(var(--surface));
    backdrop-filter: blur(10px);
    border-bottom: 1px solid hsl(var(--border-color));
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-medium);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo .logo-img {
    height: 50px;
    width: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.nav-logo .logo-img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: hsl(var(--text-primary));
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: hsl(var(--primary-color));
    background: linear-gradient(135deg, hsl(var(--primary-color) / 0.1), hsl(var(--secondary-color) / 0.1));
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background: hsl(var(--text-primary));
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--gradient-primary);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://pixabay.com/get/gde44838d3eb206b5c4aa6235231b825f028128ce7f5424f5dd790ec5515974435e42f383f89618ae1ee2042ebba3f6db6c9d7321dadfc0f494cae58e8bb70b8e_1280.jpg') center/cover;
    opacity: 0.1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0.9;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 100vh;
}

.hero-text {
    color: white;
    animation: fadeInUp 1s ease;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
}

.title-subtitle {
    display: block;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    opacity: 0.9;
    margin-top: 0.5rem;
}

.hero-description {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
}

.feature-item i {
    font-size: 1.2rem;
    color: hsl(var(--accent-color));
}

.hero-cta {
    margin-top: 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: hsl(var(--surface));
    color: hsl(var(--primary-color));
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
    background: linear-gradient(135deg, hsl(var(--surface)), hsl(var(--background)));
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease 0.3s both;
}

.gift-showcase {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.showcase-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 30px;
    box-shadow: var(--shadow-heavy);
    transition: transform 0.3s ease;
}

.showcase-img:hover {
    transform: scale(1.05) rotate(2deg);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-gift {
    position: absolute;
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
}

.floating-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-2 {
    top: 70%;
    right: 10%;
    animation-delay: 1s;
}

.floating-3 {
    top: 40%;
    left: -10%;
    animation-delay: 2s;
}

/* Section Styles */
section {
    padding: 5rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease;
}

.section-title {
    color: hsl(var(--text-primary));
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: hsl(var(--text-secondary));
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: hsl(var(--surface));
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    animation: fadeInLeft 0.8s ease;
}

.about-intro h3 {
    color: hsl(var(--primary-color));
    margin-bottom: 1rem;
}

.about-intro,
.about-philosophy,
.about-mission,
.about-gratitude {
    margin-bottom: 2rem;
}

.signature {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, hsl(var(--primary-color) / 0.1), hsl(var(--secondary-color) / 0.1));
    border-radius: 15px;
    border-left: 4px solid hsl(var(--primary-color));
}

.about-images {
    animation: fadeInRight 0.8s ease;
}

.about-img-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.about-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    transition: transform 0.3s ease;
}

.about-img:hover {
    transform: scale(1.05);
}

/* How It Works Section */
.how-it-works {
    background: linear-gradient(135deg, hsl(var(--background)), hsl(var(--surface)));
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.step {
    background: hsl(var(--surface));
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    animation: fadeInUp 0.8s ease;
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.step-icon {
    position: relative;
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.step-icon i {
    color: white;
    font-size: 2rem;
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: hsl(var(--accent-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.step-content h3 {
    color: hsl(var(--text-primary));
    margin-bottom: 1rem;
}

.process-note {
    text-align: center;
    margin: 3rem 0;
}

.note-content {
    background: var(--gradient-primary);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.pricing-note {
    margin-top: 3rem;
}

.pricing-card {
    background: hsl(var(--surface));
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    border: 2px solid hsl(var(--primary-color) / 0.2);
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card h4 {
    color: hsl(var(--primary-color));
    margin-bottom: 1rem;
}

.pricing-signature {
    margin-top: 1.5rem;
    font-style: italic;
    color: hsl(var(--primary-color));
    font-weight: 600;
}

/* Testimonials Section */
.testimonials {
    background: hsl(var(--surface));
}

.testimonial-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.testimonial-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: transform 0.3s ease;
    animation: fadeInUp 0.8s ease;
}

.testimonial-item:hover {
    transform: scale(1.05);
}

.testimonial-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.testimonial-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.testimonial-item:hover .testimonial-overlay {
    transform: translateY(0);
}

/* Reviews Section */
.reviews {
    background: linear-gradient(135deg, hsl(var(--background)), hsl(var(--surface)));
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.review-card {
    background: hsl(var(--surface));
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.review-stars {
    color: hsl(var(--accent-color));
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-text {
    font-style: italic;
    line-height: 1.6;
    color: hsl(var(--text-secondary));
}

.review-cta {
    text-align: center;
    margin-top: 3rem;
}

.review-cta p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: hsl(var(--text-primary));
    font-weight: 600;
}

/* Contact Section */
.contact {
    background: hsl(var(--surface));
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    animation: fadeInLeft 0.8s ease;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, hsl(var(--primary-color) / 0.1), hsl(var(--secondary-color) / 0.1));
    border-radius: 20px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-medium);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.contact-details h3 {
    color: hsl(var(--text-primary));
    margin-bottom: 0.5rem;
}

.contact-details p {
    margin-bottom: 0.5rem;
}

.contact-link {
    color: hsl(var(--primary-color));
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: hsl(var(--secondary-color));
}

.contact-image {
    animation: fadeInRight 0.8s ease;
}

.contact-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
}

/* Footer */
.footer {
    background: hsl(var(--text-primary));
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    border-radius: 8px;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Language Picker */
.language-picker {
    position: relative;
    margin-left: 1rem;
}

.language-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, hsl(var(--primary-color) / 0.1), hsl(var(--secondary-color) / 0.1));
    border: 1px solid hsl(var(--border-color));
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: hsl(var(--text-primary));
    font-weight: 500;
}

.language-button:hover {
    background: linear-gradient(135deg, hsl(var(--primary-color) / 0.2), hsl(var(--secondary-color) / 0.2));
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.language-button i {
    font-size: 1rem;
}

#current-language {
    font-weight: 600;
    min-width: 25px;
    text-align: center;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: hsl(var(--surface));
    border: 1px solid hsl(var(--border-color));
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 150px;
    z-index: 1001;
}

.language-picker.active .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: hsl(var(--text-primary));
    transition: all 0.3s ease;
    border-radius: 10px;
    margin: 0.25rem;
}

.language-option:hover {
    background: linear-gradient(135deg, hsl(var(--primary-color) / 0.1), hsl(var(--secondary-color) / 0.1));
    color: hsl(var(--primary-color));
}

.language-option .flag {
    font-size: 1.2rem;
}

.language-option:first-child {
    margin-top: 0.5rem;
}

.language-option:last-child {
    margin-bottom: 0.5rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

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

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

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

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

/* Responsive Design */
@media (max-width: 768px) {
    /* Navigation Mobile */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: hsl(var(--surface));
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-medium);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    /* Language Picker Mobile */
    .language-picker {
        margin-left: 0;
        margin-top: 1rem;
        order: 99;
    }

    .language-button {
        justify-content: center;
        width: 100%;
    }

    .language-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        width: 100%;
        margin-top: 0.5rem;
        border: none;
        box-shadow: none;
        background: transparent;
    }

    .language-picker.active .language-dropdown {
        display: block;
    }

    .language-option {
        background: rgba(255, 255, 255, 0.1);
        margin: 0.25rem 0;
        border-radius: 10px;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Hero Mobile */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-top: 6rem;
    }

    .hero-features {
        gap: 0.75rem;
    }

    .feature-item {
        padding: 0.5rem 1rem;
    }

    /* About Mobile */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Contact Mobile */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Footer Mobile */
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    /* Steps Mobile */
    .steps-container {
        grid-template-columns: 1fr;
    }

    /* Reviews Mobile */
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    /* Testimonials Mobile */
    .testimonial-gallery {
        grid-template-columns: 1fr;
    }

    /* General Mobile */
    .container {
        padding: 0 1rem;
    }

    section {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding-top: 5rem;
    }

    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .step {
        padding: 1.5rem;
    }

    .review-card {
        padding: 1.5rem;
    }

    .contact-card {
        padding: 1.5rem;
    }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}
/* Ensure testimonial captions are white */
.testimonial-overlay .testimonial-content p {
  color: #fff;
}

/* Force footer text to be fully white */
.footer-bottom p {
  color: #fff;
}

/* Make hero subtitle and feature text white */
.hero-description {
  color: #fff;
}

.hero-features p {
  color: #fff;
}

/* Make .nav-logo a flex container so image + text sit side by side */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Style the “Gifts and Giggles” text */
.nav-logo .brand-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--text-primary));
}

/* Make the “Share Your Joy” footer text white */
.footer-logo p {
  color: #fff;
}