/* Premium Wedding Planner CSS */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Poppins:wght@300;400;500;600&display=swap');

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

:root {
    --primary-blue: #19318f;
    --primary-gold: #eebf23;
    --primary-dark: #12246b;
    --secondary-bg: #f4f7f6;
    --white: #ffffff;
    --text-dark: #2c2c2c;
    --text-light: #6a6a6a;
    --border-color: #e8e3d9;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 40px rgba(197, 160, 89, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.7;
    font-size: 15px;
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography & Titles */
.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--primary-blue);
}

.section-subtitle {
    text-align: center;
    font-style: italic;
    font-family: var(--font-heading);
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 40px;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(197, 160, 89, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--text-dark);
}

.btn-gold-outline {
    background-color: transparent;
    color: var(--primary-gold);
    border: 1px solid var(--primary-gold);
}

.btn-gold-outline:hover {
    background-color: var(--primary-gold);
    color: var(--white);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: rgba(255, 255, 255, 0.98);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.04);
    backdrop-filter: blur(10px);
}

.navbar .logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-blue);
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1000;
    border-radius: 8px;
    top: 100%;
    left: 0;
    overflow: hidden;
}

.dropdown-content a {
    color: var(--text-dark);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    text-transform: none;
}

.dropdown-content a:hover {
    background-color: var(--secondary-bg);
    color: var(--primary-blue);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.btn-nav {
    background-color: var(--primary-blue) !important;
    color: white !important;
    padding: 10px 25px !important;
    border-radius: 30px;
}
.btn-nav:hover { background-color: var(--primary-dark) !important; color: white !important; }

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.4)), url('https://images.unsplash.com/photo-1519225421980-715cb0215aed?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 25px;
    text-shadow: 2px 4px 10px rgba(0,0,0,0.5);
    color: var(--white);
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 45px;
    font-weight: 300;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Section Wrapper */
section {
    padding: 100px 0;
}

/* About Section */
.about {
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.image-placeholder {
    width: 100%;
    height: 550px;
    background: url('https://images.unsplash.com/photo-1511285560929-80b456fea0bc?auto=format&fit=crop&w=800&q=80') center/cover;
    border-radius: 10px 100px 10px 10px;
    box-shadow: var(--shadow-soft);
    position: relative;
}

.image-placeholder::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-blue);
    border-radius: 10px 100px 10px 10px;
    z-index: -1;
}

/* Services */
.services {
    background-color: var(--secondary-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    text-align: center;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-blue);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
}

/* Packages */
.packages {
    background-color: var(--white);
}

.packages-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.package-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 40px;
    width: 100%;
    max-width: 350px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.package-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-10px);
    border-color: var(--primary-blue);
}

.package-card.featured {
    border: 2px solid var(--primary-blue);
    box-shadow: var(--shadow-soft);
    transform: scale(1.05);
}

.package-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.package-card .badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-blue);
    color: var(--white);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.package-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-blue);
    font-family: var(--font-heading);
}

.package-card .price {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 30px;
    font-family: var(--font-body);
}

.package-card .price span {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
}

.package-features {
    list-style: none;
    margin-bottom: 35px;
    text-align: left;
}

.package-features li {
    margin-bottom: 15px;
    color: var(--text-light);
    position: relative;
    padding-left: 30px;
}

.package-features li i {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--primary-blue);
}

/* Gallery */
.gallery {
    background-color: var(--secondary-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 30px 20px 20px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    transform: translateY(0);
}

/* Testimonials */
.testimonials {
    background-color: var(--white);
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23c5a059" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    border: 1px solid var(--border-color);
    position: relative;
}

.testimonial-card i.fa-quote-left {
    font-size: 2.5rem;
    color: rgba(197, 160, 89, 0.2);
    margin-bottom: 20px;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.8;
}

.testimonial-card .client-name {
    font-weight: 600;
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

.stars {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

/* Forms & Inputs */
.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    background-color: var(--secondary-bg);
    transition: all 0.3s ease;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.1);
    background-color: var(--white);
}

/* Calculator Section */
.calculator {
    background-color: var(--secondary-bg);
    padding: 100px 0;
}

.calc-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
}

.step-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 20px;
}

.step {
    flex: 1;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.step.active {
    color: var(--primary-blue);
}

.step.active::after {
    content: '';
    position: absolute;
    bottom: -22px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-blue);
}

.form-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-step h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 30px;
    text-align: center;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.service-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--white);
}

.service-item:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-soft);
}

.service-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    accent-color: var(--primary-blue);
}

.service-item label {
    font-weight: 500;
    cursor: pointer;
    flex: 1;
}

.btn-next, .btn-submit {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 14px 35px;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-next:hover, .btn-submit:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(197, 160, 89, 0.3);
}

.btn-prev {
    background-color: transparent;
    color: var(--text-light);
    padding: 14px 35px;
    border: 1px solid var(--border-color);
    border-radius: 40px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-prev:hover {
    background-color: var(--secondary-bg);
    color: var(--text-dark);
    border-color: var(--text-light);
}

/* Calculator Result */
.result-box {
    text-align: center;
    padding: 20px;
}

.result-price {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 20px 0;
    font-family: var(--font-body);
}

.result-package {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.selected-services-list {
    text-align: left;
    background: var(--secondary-bg);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.selected-services-list h4 {
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.selected-services-list ul {
    list-style: none;
}

.selected-services-list ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    color: var(--text-dark);
}

.selected-services-list ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

.result-note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

.contract-success {
    text-align: center;
    padding: 30px;
}

.contract-success .icon {
    font-size: 4rem;
    color: #10b981;
    display: block;
    margin-bottom: 20px;
}

.contract-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.hidden {
    display: none !important;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #cccccc;
    padding: 70px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
}

.footer-col p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.footer-col i {
    color: var(--primary-blue);
    margin-right: 15px;
    width: 20px;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: var(--white);
    margin-right: 10px;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar { padding: 15px 20px; }
    .nav-links { display: none; }
    .hero-content h1 { font-size: 2.8rem; }
    .about-grid { grid-template-columns: 1fr; }
    .image-placeholder { height: 400px; margin-top: 30px; }
    .section-title { font-size: 2.2rem; }
    
    .calc-wrapper { padding: 30px 20px; }
    .step-progress { flex-direction: column; gap: 15px; border-bottom: none; }
    .step.active::after { display: none; }
    .step.active { border-left: 3px solid var(--primary-blue); padding-left: 10px; text-align: left; }
    .step { text-align: left; padding-left: 13px; }
    
    .form-actions { flex-direction: column; gap: 15px; }
    .btn-next, .btn-submit, .btn-prev { width: 100%; text-align: center; }
    
    .result-price { font-size: 2.5rem; }
}
