/* Services Page Styles */
:root {
    /* Premium palette aligned with Destination Weddings */
    --primary: #2F2B2A;          /* headings/text */
    --secondary: #C9A34E;        /* gold */
    --accent: #D4A0A7;           /* rose-gold */
    --accent-light: #F4EAF6;     /* pastel highlight */
    --text: #2F2B2A;
    --text-light: #6F6A68;
    --white: #ffffff;
    --gray-light: #FBF7F2;       /* ivory / champagne */
    --gray: #ecf0f1;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.12);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Hero Section */
.services-hero {
    background: url('../assets/services-hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    z-index: 2;
    position: relative;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.35);
    color: #ffffff;
}

.hero-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-light);
    background: rgba(0,0,0,0.25);
    border: 1px solid rgba(178,176,232,0.35);
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    box-shadow: var(--shadow);
}

.hero-meta .bi { color: var(--accent-light); }
.hero-meta code { color: var(--accent-light); font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace; }

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.35);
    color: rgba(255,255,255,0.92);
}

.cta-button {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Service Sections */
.service-section {
    padding: 5rem 2rem;
    background: var(--white);
}

.service-section:nth-child(even) {
    background: var(--gray-light);
}

.service-content {
    max-width: 1200px;
    margin: 0 auto 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-section.reverse .service-content {
    grid-template-columns: 1fr 1fr;
}

.service-section.reverse .service-image {
    order: -1;
}

.service-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.service-text h2 .bi { color: var(--secondary); font-size: 1.15em; }

.service-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.service-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-image img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

/* Sub-Services Grid */
.sub-services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.sub-service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    /* remove card shadow for clean look */
    box-shadow: none;
    transition: var(--transition);
    position: relative;
}

/* keep motion-only hover without shadow */
.sub-service-card:hover {
    transform: translateY(-6px) scale(1.02);
}

/* image zoom on hover for subtle effect */
.sub-service-card:hover .card-image img {
    transform: scale(1.05);
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

/* remove dark overlay from event card images for clean image */
.sub-service-card .card-image::after {
    content: none;
}

.card-content {
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

.card-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.card-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* CTA button inside cards */
.card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: #fff;
    text-decoration: none;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    transition: var(--transition);
}

.card-cta .bi { font-size: 1.1em; }

.card-cta:hover {
    transform: translateX(3px);
}

/* CTA Banner */
.cta-banner {
    background: url('../assets/services-hero.png');
    background-size: cover;
    background-position: center;
    padding: 5rem 2rem;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    pointer-events: none;
    z-index: 1;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-light);
    background: rgba(0,0,0,0.25);
    border: 1px solid rgba(178,176,232,0.35);
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    box-shadow: var(--shadow);
}

.cta-meta .bi { color: var(--accent-light); }
.cta-meta code { color: var(--accent-light); font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace; }

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.35);
    color: #ffffff;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.35);
    color: rgba(255,255,255,0.92);
}

/* Popup Booking Form */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 42, 128, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.popup-form {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--gray);
}

.popup-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.close-btn:hover {
    color: var(--secondary);
}

.booking-form {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(59, 56, 160, 0.1);
}

.submit-btn {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .service-content {
        max-width: 1200px;
        margin: 0 auto 3rem;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
        text-align: left;
    }

    .service-text { text-align: left; }

    /* Reverse sections: text first, image second */
    .service-section.reverse .service-text { order: 1; }
    .service-section.reverse .service-image { order: 2; }

    .service-image img { height: auto; }

    .sub-services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .service-section {
        padding: 3rem 1rem;
    }

    .service-content {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
        text-align: left;
    }

    .service-text { text-align: left; }
    .service-section.reverse .service-text { order: 1; }
    .service-section.reverse .service-image { order: 2; }
    
    .service-text h2 {
        font-size: 2rem;
    }
    
    .service-text p {
        font-size: 1rem;
    }
    
    .sub-services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
    
    .popup-form {
        margin: 1rem;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-meta { font-size: 0.8rem; }

    .hero-content p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .service-text h2 {
        font-size: 1.75rem;
    }

    .service-content {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        text-align: left;
    }

    .service-text { text-align: left; }
    .service-section.reverse .service-text { order: 1; }
    .service-section.reverse .service-image { order: 2; }
    
    .popup-header,
    .booking-form {
        padding: 1.5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation for images */
.service-image img,
.card-image img {
    opacity: 0;
    animation: fadeIn 0.6s ease-in forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Hover effects for interactive elements */
.sub-service-card,
.service-image img,
.cta-button,
.submit-btn,
.card-cta {
    transition: var(--transition);
}

/* Navbar styling to match main site */
.navbar-tagline{color:#C9A34E !important}
.btn-primary{color:#fff !important;background:linear-gradient(135deg,#C9A34E,#D4A0A7) !important}

/* Mobile mega menu colors to match main site */
@media (max-width:899px){
	.services-mega-menu .mega-category h4,
	.mega-menu .mega-category h4{color:#C9A34E !important}
}

/* Focus states for accessibility */
.cta-button:focus,
.submit-btn:focus,
.learn-more:focus,
.card-cta:focus {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .popup-overlay,
    .cta-button,
    .learn-more,
    .card-cta {
        display: none !important;
    }
    
    .service-section {
        break-inside: avoid;
        page-break-inside: avoid;
    }
} 