/*
 * Nepali Party Palace - Responsive & Mobile-Friendly Styles
 * Youthful & Appealing Color Scheme (Teal, Coral, Soft Neutrals)
 */

/* Google Fonts - Montserrat for headings, Open Sans for body */
/* Ensure this is in your HTML's <head> section:
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Open+Sans:wght@400;600&display=swap" rel="stylesheet">
*/

/* --- Color Palette ---
   Primary Teal: #008080 (Strong, sophisticated)
   Accent Coral: #FF6B6B (Vibrant, youthful)
   Soft Grey: #ECEFF1 (Light, modern background)
   Dark Text: #34495E (Deep blue-grey for readability)
   Light Text: #F5F5F5 (For dark backgrounds)
   White: #FFFFFF
   --- */


/* General Body & Typography */
body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #34495E; /* Dark text for readability */
    background-color: #ECEFF1; /* Soft grey background */
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #34495E;
    margin-bottom: 15px;
    line-height: 1.2;
}

h1 { font-size: 2.8em; }
h2 { font-size: 2.2em; }
h3 { font-size: 1.8em; }
h4 { font-size: 1.4em; }

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: #008080; /* Primary Teal for links */
    transition: color 0.3s ease;
}
a:hover {
    color: #005f5f; /* Darker Teal on hover */
}

/* Header & Navigation */
header {
    background-color: #ffffff;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo img {
    height: 70px;
    vertical-align: middle;
}

/* Desktop Navigation */
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: #555;
    font-weight: 600;
    padding: 10px 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #FF6B6B; /* Accent Coral for underline */
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.cta-button {
    background-color: #FF6B6B; /* Accent Coral for CTA */
    color: white !important;
    padding: 10px 20px;
    border-radius: 25px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 8px rgba(255, 107, 107, 0.2);
}

.cta-button:hover {
    background-color: #e65c5c; /* Darker Coral on hover */
    transform: translateY(-2px);
}

/* Mobile Navigation Toggle (Hamburger) */
.menu-toggle {
    display: none;
    font-size: 2em;
    cursor: pointer;
    color: #34495E;
    background: none;
    border: none;
    padding: 0;
}

/* Hero Section */
.hero-section {
    background: url('../images/hero-main.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 120px 20px;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65); /* Slightly darker overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-content h1 {
    font-size: 3.8em;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
}

.hero-content p {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #f5f5f5;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-ctas .btn {
    margin: 0 15px;
    font-size: 1.1em;
    padding: 15px 30px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn.primary-btn {
    background-color: #FF6B6B; /* Accent Coral */
    color: white;
    box-shadow: 0 4px 8px rgba(255, 107, 107, 0.2);
}

.btn.primary-btn:hover {
    background-color: #e65c5c;
    transform: translateY(-2px);
}

.btn.secondary-btn {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
}

.btn.secondary-btn:hover {
    background-color: white;
    color: #008080; /* Teal for hover text */
    transform: translateY(-2px);
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
    background-color: #008080; /* Primary Teal */
    color: white;
    text-decoration: none;
    border-radius: 20px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.btn-small:hover {
    background-color: #005f5f; /* Darker Teal */
    transform: translateY(-2px);
}


/* Section Styling */
.intro-section, .featured-services, .content-section, .cta-banner, .team-section, .contact-grid {
    padding: 80px 0;
}

.intro-section {
    text-align: center;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-top: -100px;
    position: relative;
    z-index: 3;
    padding: 60px 20px;
}

.highlights {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.highlight-item {
    flex-basis: calc(33% - 20px);
    max-width: 350px;
    text-align: center;
    background-color: #fdfdfd;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.highlight-item:hover {
    transform: translateY(-5px);
}
.highlight-item h3 {
    color: #008080; /* Primary Teal */
    font-size: 1.5em;
    margin-bottom: 10px;
}
.highlight-item p {
    font-size: 0.95em;
    color: #666;
}


.featured-services {
    background-color: #E6F0F5; /* Light blue-grey background */
    text-align: center;
    padding: 80px 0;
}

.service-grid, .image-gallery, .team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.service-card, .member-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover, .member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-card img, .member-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.service-card h3, .member-card h3 {
    padding: 20px 20px 10px;
    margin: 0;
    font-size: 1.5em;
    color: #34495E;
}

.service-card p, .member-card p {
    padding: 0 20px 20px;
    font-size: 0.98em;
    color: #666;
}

.service-card .btn-small {
    display: inline-block;
    margin: 0 20px 20px;
}

/* Page Banners */
.page-banner {
    background-color: #008080; /* Primary Teal */
    color: white;
    padding: 100px 20px;
    text-align: center;
}
.page-banner h1 {
    color: white;
    font-size: 3.2em;
    margin: 0;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}

/* Content Sections */
.content-section {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-top: 60px;
    padding: 50px;
}
.content-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #008080; /* Primary Teal */
}
.content-section h3 {
    color: #34495E;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
}
.content-section ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    line-height: 1.8;
}
.content-section ol {
    margin-left: 25px;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Two Column Layout for About/Services */
.two-column-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}
.two-column-layout .text-content,
.two-column-layout .image-content {
    flex: 1;
    min-width: 350px;
}
.two-column-layout img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.two-column-layout.reverse {
    flex-direction: row-reverse;
}

/* Service Detail Blocks */
.service-detail-block {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
    padding: 30px;
    background-color: #fdfdfd;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.service-detail-block img {
    flex: 1;
    min-width: 350px;
    max-width: 48%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
}
.service-detail-block .text-content {
    flex: 2;
    min-width: 400px;
}
.service-detail-block.reverse {
    flex-direction: row-reverse;
}

/* CTA Banner */
.cta-banner {
    background-color: #FF6B6B; /* Accent Coral */
    text-align: center;
    padding: 90px 20px;
    border-radius: 12px;
    margin-top: 60px;
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.2);
    color: white; /* Text color for dark background */
}
.cta-banner h2 {
    color: white;
    font-size: 2.8em;
    margin-bottom: 20px;
}
.cta-banner p {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #f5f5f5;
}
.cta-banner .btn.primary-btn {
    background-color: #008080; /* Teal button on Coral banner */
    box-shadow: 0 4px 8px rgba(0, 128, 128, 0.2);
}
.cta-banner .btn.primary-btn:hover {
    background-color: #005f5f;
}

/* Gallery Styling */
.gallery-filters {
    text-align: center;
    margin-bottom: 40px;
}
.filter-btn {
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    padding: 10px 25px;
    margin: 5px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    color: #555;
    transition: all 0.3s ease;
}
.filter-btn.active, .filter-btn:hover {
    background-color: #008080; /* Primary Teal */
    color: white;
    border-color: #008080;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 128, 128, 0.2);
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}
.gallery-item {
    display: block;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-info p {
    margin-bottom: 12px;
    font-size: 1.05em;
}
.contact-info a {
    color: #008080; /* Primary Teal */
    text-decoration: none;
    font-weight: 600;
}
.contact-info a:hover {
    text-decoration: underline;
}

.contact-form-section form {
    background-color: #fdfdfd;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.contact-form-section .form-group {
    margin-bottom: 25px;
}
.contact-form-section label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #34495E;
}
.contact-form-section input[type="text"],
.contact-form-section input[type="email"],
.contact-form-section input[type="tel"],
.contact-form-section select,
.contact-form-section textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.contact-form-section input[type="text"]:focus,
.contact-form-section input[type="email"]:focus,
.contact-form-section input[type="tel"]:focus,
.contact-form-section select:focus,
.contact-form-section textarea:focus {
    border-color: #008080; /* Primary Teal on focus */
    box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.25);
    outline: none;
}
.contact-form-section textarea {
    resize: vertical;
    min-height: 120px;
}
.contact-form-section .btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
    background-color: #FF6B6B; /* Accent Coral */
    box-shadow: 0 4px 8px rgba(255, 107, 107, 0.2);
}
.contact-form-section .btn:hover {
    background-color: #e65c5c;
}

.map-section {
    margin-top: 60px;
    text-align: center;
}
.map-section iframe {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-top: 30px;
}
.map-directions {
    font-size: 1em;
    color: #666;
    margin-top: 20px;
}

/* FAQ Accordion */
.faq-accordion .accordion-item {
    background-color: #ffffff;
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}
.faq-accordion .accordion-header {
    background-color: #f5f5f5;
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1.2em;
    color: #34495E;
    transition: background-color 0.3s ease;
}
.faq-accordion .accordion-header:hover {
    background-color: #e0e0e0;
}
.faq-accordion .accordion-header .icon {
    font-size: 1.8em;
    transition: transform 0.3s ease;
    color: #FF6B6B; /* Accent Coral for icon */
}
.faq-accordion .accordion-item.active .accordion-header .icon {
    transform: rotate(45deg);
}
.faq-accordion .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding: 0 25px;
}
.faq-accordion .accordion-item.active .accordion-content {
    padding-bottom: 25px;
}
.faq-accordion .accordion-content h4 {
    margin-top: 20px;
    color: #008080; /* Primary Teal */
    font-size: 1.1em;
}
.faq-accordion .accordion-content p {
    padding-left: 10px;
    border-left: 3px solid #e0e0e0;
}


/* Footer */
footer {
    background-color: #263238; /* Dark, almost black-blue */
    color: white;
    padding: 60px 0 30px;
    font-size: 0.95em;
}

footer .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-bottom: 40px;
    border-bottom: 1px solid #455A64; /* Slightly lighter border */
}

footer .footer-col {
    flex-basis: calc(33% - 20px);
    margin-bottom: 30px;
    min-width: 280px;
}

footer h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.3em;
    position: relative;
    padding-bottom: 10px;
}
footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #FF6B6B; /* Accent Coral underline */
}


footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul li {
    margin-bottom: 12px;
}

footer ul li a, footer p, footer .social-links a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer ul li a:hover, footer .social-links a:hover {
    color: #FF6B6B; /* Accent Coral on hover */
}

.social-links a {
    display: inline-block;
    margin-right: 15px;
    font-size: 1.4em;
}

.copyright {
    text-align: center;
    margin-top: 30px;
    color: #777;
}

/* Mobile Navigation Specific Styles */
nav.mobile-nav {
    display: none;
    width: 100%;
    margin-top: 15px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease-out;
}

nav.mobile-nav.active {
    display: block;
    max-height: 350px; /* Adjusted max-height for no rental links */
}

nav.mobile-nav ul {
    flex-direction: column;
    padding: 20px;
}

nav.mobile-nav ul li {
    margin: 10px 0;
    text-align: center;
}

nav.mobile-nav ul li a {
    display: block;
    padding: 10px 0;
    color: #34495E;
    font-size: 1.1em;
    border-bottom: 1px solid #e0e0e0;
}
nav.mobile-nav ul li:last-child a {
    border-bottom: none;
}
nav.mobile-nav ul li a:hover {
    background-color: #f0f0f0;
}
nav.mobile-nav .cta-button {
    width: 80%;
    margin: 15px auto;
    display: block;
    background-color: #FF6B6B; /* Accent Coral for mobile CTA */
}
nav.mobile-nav .cta-button:hover {
    background-color: #e65c5c;
}


/* Media Queries for Responsiveness */
@media (max-width: 992px) {
    h1 { font-size: 2.5em; }
    h2 { font-size: 2em; }
    .hero-content h1 { font-size: 3em; }
    .hero-content p { font-size: 1.1em; }
    .hero-ctas .btn { font-size: 1em; padding: 12px 25px; }

    .highlight-item {
        flex-basis: calc(50% - 20px);
    }
    .two-column-layout .text-content,
    .two-column-layout .image-content,
    .service-detail-block img,
    .service-detail-block .text-content,
    .contact-grid {
        min-width: unset;
        width: 100%;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-col {
        flex-basis: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    nav.desktop-nav { /* Explicitly hide desktop nav */
        display: none;
    }
    .menu-toggle {
        display: block;
    }
    .hero-content h1 {
        font-size: 2.5em;
    }
    .hero-content p {
        font-size: 1em;
    }
    .hero-ctas {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .hero-ctas .btn {
        width: 80%;
        margin: 0 auto;
    }

    .intro-section, .content-section, .cta-banner {
        padding: 40px 20px;
        margin-top: -60px;
    }
    h1 { font-size: 2.2em; }
    h2 { font-size: 1.8em; }
    h3 { font-size: 1.5em; }

    .highlight-item {
        flex-basis: 100%;
    }
    .service-grid, .image-gallery, .team-members {
        grid-template-columns: 1fr;
    }
    .service-card img, .member-card img {
        height: 220px;
    }
    .two-column-layout, .service-detail-block {
        flex-direction: column;
        gap: 30px;
    }
    .service-detail-block img {
        max-width: 100%;
    }
    .footer-col {
        flex-basis: 100%;
        text-align: center;
    }
    footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 55px;
    }
    .hero-content h1 {
        font-size: 2em;
    }
    .hero-content p {
        font-size: 0.9em;
    }
    .hero-ctas .btn {
        width: 90%;
        padding: 10px 20px;
        font-size: 1em;
    }
    .content-section {
        padding: 30px;
    }
    .filter-btn {
        font-size: 0.9em;
        padding: 8px 15px;
    }
    .image-gallery .gallery-item img {
        height: 200px;
    }
    .contact-form-section form {
        padding: 20px;
    }
}