/* --- Polished & Pristine - Professional Theme Stylesheet v2.4 --- */

/* --- Google Font Import --- */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Oswald:wght@500;700&display=swap');

/* --- General Body & Typography --- */
body {
    font-family: 'Lato', sans-serif; /* Body Font */
    margin: 0;
    padding: 0;
    background-color: #f9f9f9; /* Background: Off-White */
    color: #333333; /* Accent: Steel Grey for body text */
    line-height: 1.7;
    font-size: 16px;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
    padding: 20px 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif; /* Headings Font */
    color: #1a1a1a; /* Primary: Charcoal Black */
    text-transform: uppercase;
    letter-spacing: 1px;
}

p {
    margin-bottom: 1rem;
}

/* --- Header & Navigation --- */
header {
    background: #1a1a1a; /* Primary: Charcoal Black */
    color: #fff;
    padding: 1rem 0;
    border-bottom: 4px solid #007BFF; /* Secondary: Bright Blue */
    position: sticky;
    top: 0;
    z-index: 1000;
}

header a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
}

header #branding h1 {
    margin: 0;
    color: #fff;
    font-size: 2rem;
    text-transform: uppercase;
}

header #branding h1 a:hover {
    color: #fff;
}

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

header nav ul li {
    display: inline;
    margin-left: 25px;
    font-weight: 700;
}

header nav a:hover, header nav .current a {
    color: #007BFF; /* Secondary: Bright Blue */
}

/* --- UPDATED VIDEO HERO SECTION STYLES --- */
.hero {
    height: 70vh;
    position: relative; /* Acts as the positioning anchor */
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden; /* Prevents video from spilling out */
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* More reliable way to cover the area */
    z-index: 1; /* Layer 1: The video itself */
}

/* Dark overlay to ensure text readability */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2; /* Layer 2: The dark overlay */
}

.hero-content {
    position: relative; /* This is the key change to ensure it respects the z-index */
    z-index: 3; /* Layer 3: The text content on top of everything */
    padding: 0 20px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.3rem;
    font-family: 'Lato', sans-serif;
    text-transform: none;
    letter-spacing: 0;
}


/* --- Call to Action Button --- */
.button {
    display: inline-block;
    background: #007BFF; /* Secondary: Bright Blue */
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
}

.button:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

/* --- Sections --- */
.section {
    padding: 60px 0;
}

.section-light {
    background: #ffffff;
}

.page-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

/* --- Service Packages Layout --- */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.package-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.package-card h3 {
    color: #007BFF;
    border-bottom: 2px solid #f4f4f4;
    padding-bottom: 15px;
    margin-top: 0;
    font-size: 1.8rem;
}

.package-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 15px 0;
}

.package-card ul {
    list-style: none;
    padding: 0;
    flex-grow: 1;
}

.package-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.package-card ul li:before {
    content: '✔';
    color: #28a745;
    margin-right: 12px;
    font-weight: bold;
}

/* --- NEW MASONRY GALLERY STYLES --- */
.gallery-grid {
    column-count: 3; /* Default for larger screens */
    column-gap: 20px;
}

.gallery-item {
    margin-bottom: 20px;
    break-inside: avoid; /* Prevents items from breaking across columns */
}

.gallery-item img, .gallery-item video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}


/* --- Contact Form Styles --- */
.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    max-width: 700px;
    margin: 2rem auto 0 auto;
}

.form-row {
    display: flex;
    gap: 20px;
}

.col {
    flex: 1; 
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box; 
    margin-bottom: 20px; 
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
}

.btn {
    display: inline-block;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    border: 1px solid transparent;
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-dark {
    color: #fff;
    background-color: #1a1a1a;
    border-color: #1a1a1a;
    width: 100%;
    text-transform: uppercase;
}

.btn-dark:hover {
    background-color: #007BFF;
    border-color: #007BFF;
}

/* --- Expert Advice/Blog Page Styles --- */
.tip-article {
    background: #fff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.tip-article h3 {
    margin-top: 0;
    font-size: 1.8rem;
}

.article-meta {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.tip-article ul, .tip-article ol {
    padding-left: 20px;
}

.tip-article li {
    margin-bottom: 0.5rem;
}

/* --- FAQ ACCORDION STYLES --- */
.faq-container {
    max-width: 800px;
    margin: 2rem auto;
}

.faq-item {
    background: #fff;
    margin-bottom: 10px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: #fff;
    border: none;
    padding: 20px;
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #1a1a1a;
}

.faq-question:hover {
    background: #f9f9f9;
}

.faq-item.active .faq-question {
    color: #007BFF;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
    padding: 0 20px;
}

.faq-answer p, .faq-answer ul {
    margin: 1rem 0;
}

.faq-answer p:last-child {
    padding-bottom: 20px;
}

/* --- GEMINI PACKAGE ADVISOR STYLES --- */
.advisor-container {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #e0e0e0;
}

.advisor-container h2 {
    margin-top: 0;
}

.advisor-container textarea {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.advisor-result {
    margin-top: 2rem;
    padding: 20px;
    border-radius: 8px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.advisor-result h3 {
    margin-top: 0;
    color: #007BFF;
}

.loading-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    padding: 20px;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left-color: #007BFF;
    animation: spin 1s ease infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


/* --- Footer --- */
footer {
    background: #1a1a1a;
    color: #aaa;
    text-align: center;
    padding: 30px;
    margin-top: 40px;
}

/* --- Responsive Styles --- */
@media(max-width: 992px) {
    .gallery-grid {
        column-count: 2; /* Two columns for tablets */
    }
}

@media(max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }

    header .container {
        flex-direction: column;
        padding: 1rem 0;
    }

    header #branding {
        margin-bottom: 15px;
    }

    header nav ul li {
        margin: 0 10px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .gallery-grid {
        column-count: 1; /* A single column for mobile phones */
    }
}
