/* Import Google Fonts - MUST be at the very top */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* Basic styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.playfair {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-display: swap;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    text-align: center;
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-display: swap;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    text-align: center;
    margin-bottom: 50px;
}

.btn-primary {
    background: linear-gradient(45deg, #457b9d, #f8d7da);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(69, 123, 157, 0.3);
    text-decoration: none;
    color: white;
}

/* Hero Section */
.about-hero {
    padding: 60px 0;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.hero-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-title-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.about-title-overlay h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-display: swap;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
}

/* Why Choose Us Section */
.why-choose {
    background: #f8f9fa;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #457b9d, #f8d7da);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 10px 30px rgba(69, 123, 157, 0.3);
}

.feature-item h4 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-display: swap;
}

/* Services Section */
.services-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #457b9d, #f8d7da);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 10px 30px rgba(69, 123, 157, 0.3);
}

.service-card h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-display: swap;
}

.service-card p {
    color: #6c757d;
    line-height: 1.6;
}

/* Gallery Section */
#gallery {
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

/* Package Builder Section - FONT CONSISTENCY FIXES */
.package-builder-section {
    background: #f8f9fa;
    padding: 80px 0;
}

/* Ensure ALL headings in package builder use Playfair Display */
.package-builder-section h1,
.package-builder-section h2, 
.package-builder-section h3,
.package-builder-section h4,
.package-builder-section h5 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-display: swap;
}

.package-builder-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.services-selection {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* MODIFIED: Two-column grid for services */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.package-service-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    min-height: 180px;
    justify-content: space-between;
}

.package-service-card:hover {
    border-color: #457b9d;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(69, 123, 157, 0.15);
}

.package-service-card.selected {
    border-color: #457b9d;
    background: linear-gradient(135deg, #f8fdff 0%, #e8f4f8 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(69, 123, 157, 0.2);
}

.package-service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #457b9d, #f8d7da);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.package-service-card.selected .package-service-icon {
    box-shadow: 0 5px 15px rgba(69, 123, 157, 0.4);
    transform: scale(1.1);
}

.package-service-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* FIXED: Ensure dynamically generated service card headings use Playfair */
.package-service-content h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 600;
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif !important;
    font-display: swap;
}

.package-service-content p {
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}

.selection-indicator {
    width: 24px;
    height: 24px;
    border: 2px solid #dee2e6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: absolute;
    top: 15px;
    right: 15px;
}

.selection-indicator i {
    font-size: 0.8rem;
    color: white;
    opacity: 0;
    transition: all 0.3s ease;
}

.package-service-card.selected .selection-indicator {
    background: linear-gradient(45deg, #457b9d, #f8d7da);
    border-color: #457b9d;
}

.package-service-card.selected .selection-indicator i {
    opacity: 1;
}

.service-testimonial {
    font-style: italic;
    font-size: 0.8rem;
    color: #457b9d;
    margin-top: 8px;
    padding: 8px;
    background: rgba(69, 123, 157, 0.05);
    border-radius: 6px;
}
.package-summary-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 100px;
    height: fit-content;
}

.summary-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.summary-header h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 8px;
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-display: swap;
}

.summary-header p {
    color: #6c757d;
    margin: 0;
    font-size: 0.9rem;
}

.selected-items {
    margin-bottom: 25px;
    min-height: 200px;
}

.empty-state {
    text-align: center;
    color: #6c757d;
    padding: 40px 20px;
}

.empty-state i {
    font-size: 2rem;
    color: #457b9d;
    margin-bottom: 15px;
    display: block;
}

.selected-service-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    background: linear-gradient(135deg, #f8fdff 0%, #e8f4f8 100%);
    border-radius: 8px;
    margin-bottom: 8px;
    border-left: 3px solid #457b9d;
}

.selected-service-icon {
    width: 30px;
    height: 30px;
    background: linear-gradient(45deg, #457b9d, #f8d7da);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* FIXED: Selected service names use Playfair Display */
.selected-service-name {
    color: #2c3e50;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif !important;
    font-display: swap;
}

.summary-footer {
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
    text-align: center;
}

.items-count {
    font-size: 1.1rem;
    font-weight: 600;
    color: #457b9d;
    margin-bottom: 20px;
}

.package-quote-btn {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.package-quote-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(69, 123, 157, 0.3);
    text-decoration: none;
}

.package-quote-btn.disabled,
.package-quote-btn[disabled] {
    background: #dee2e6 !important;
    color: #6c757d !important;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    pointer-events: none;
}

/* CTA Section */
.cta-section {
    background: white;
    padding: 80px 0;
}

.contact-item {
    padding: 20px;
}

.contact-item i {
    color: #457b9d;
    margin-bottom: 15px;
}

.contact-item h5 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 10px;
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-display: swap;
}

.contact-item p {
    color: #6c757d;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .package-service-card {
        min-height: 160px;
        padding: 20px;
    }
}

@media (max-width: 992px) {
    .package-builder-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .package-summary-card {
        position: relative;
        top: auto;
        order: -1;
    }
    
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .package-builder-section {
        padding: 60px 0;
    }
    
    .services-selection {
        padding: 20px;
    }
    
    .package-summary-card {
        padding: 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .package-service-card {
        padding: 15px;
        min-height: 140px;
        flex-direction: row;
        text-align: left;
        gap: 15px;
    }
    
    .package-service-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .package-service-content h4 {
        font-size: 1rem;
    }
    
    .package-service-content p {
        font-size: 0.8rem;
    }
    
    .selection-indicator {
        position: static;
        margin-left: auto;
    }
    
    .selected-items {
        min-height: 150px;
    }
    
    .about-title-overlay h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-image {
        height: 400px;
    }
    
    .about-title-overlay h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Animation for pulse effect */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* Fade in animations */
.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

.stagger-animation > * {
    opacity: 1;
    transform: translateY(0);
}