/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

:root {
    --gold: #D4AF37;
    --gold-dark: #B8871A;
    --white: #ffffff;
    --bg-image: url('img/background1.jpg');
}

/* Navigation */
.navbar {
    background: linear-gradient(rgba(212,175,55,0.92), rgba(212,175,55,0.92)), var(--bg-image) center/cover no-repeat;
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.06);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.navbar .logo h1 {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Logo image in navbar */
.navbar .logo .logo-img {
    height: 64px;
    width: auto;
    display: block;
    border-radius: 6px;
}

/* Ensure navbar items align with logo */
.navbar .container {
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: opacity 0.18s, color 0.18s, transform 0.12s;
    font-weight: 500;
    position: relative;
    display: inline-block;
    padding-bottom: 6px;
}

.nav-menu a:hover {
    color: rgba(255,255,255,1);
    transform: translateY(-2px);
}

.nav-menu a.active {
    color: rgba(255,255,255,1);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    /* Use the explicit background image for the hero for best control */
    background: url('img/background1.jpg') center/cover no-repeat;
    /* subtle white overlay to keep text readable */
    background-blend-mode: overlay;
    background-color: rgba(255,255,255,0.06);
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero .hero-logo .logo-img {
    height: 64px;
    width: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 6px;
}

.hero-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
    text-shadow: 0 6px 24px rgba(0,0,0,0.35), 0 1px 0 #222;
    letter-spacing: 0.03em;
}

/* Space the CTA away from the paragraph in the hero */
.hero-content p {
    margin-bottom: 2.5rem;
    font-size: 1.35rem;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 4px 18px rgba(0,0,0,0.35), 0 1px 0 #222;
    letter-spacing: 0.02em;
}

.hero-content .cta-button {
    margin-top: 1.25rem;
}

.hero-content h2::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -8px;
    width: 140px;
    height: 4px;
    background: var(--gold);
    border-radius: 3px;
}

.cta-button {
    display: inline-block;
    background: var(--gold);
    color: var(--white);
    padding: 12px 34px;
    text-decoration: none;
    border-radius: 999px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    border: 2px solid rgba(0,0,0,0.04);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    background: var(--gold-dark);
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(255,255,255,0.88), rgba(255,255,255,0.88)), var(--bg-image) center/cover no-repeat;
    color: #222;
    padding: 60px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header h1::after {
    content: '';
    display: block;
    margin: 12px auto 0;
    width: 120px;
    height: 4px;
    background: var(--gold);
    border-radius: 3px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Featured Services Section */
.featured-services {
    padding: 80px 20px;
    background: #f8f9fa;
}

.featured-services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--gold);
}

.view-all {
    text-align: center;
}

.view-more-button {
    display: inline-block;
    background: var(--gold);
    color: var(--white);
    padding: 10px 32px;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}

.view-more-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    background: var(--gold-dark);
}

/* About Preview Section */
.about-preview {
    padding: 80px 20px;
    background: var(--white);
    color: #222;
}

.about-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--gold);
}

.about-preview-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-preview-content,
.about-content {
    background: transparent;
    color: #222;
}

.about-preview-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #444;
    line-height: 1.8;
}

/* Full Services Page */
.services {
    padding: 80px 20px;
    background: #f8f9fa;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--gold);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.services-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card,
.service-card-full {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover,
.service-card-full:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

.service-card {
    text-align: center;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3,
.service-card-full h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.service-card p,
.service-card-full p {
    color: #666;
    line-height: 1.5;
}

.service-card-full h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.service-card-full p {
    line-height: 1.8;
    text-align: left;
}

/* About Full Page */
.about {
    padding: 80px 20px;
    background: var(--white);
    color: #222;
}

.about h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--gold);
}

.about h2:first-child {
    margin-top: 0;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    color: #444;
}

/* Strong override for mobile previews or dark-mode previews */
@media (max-width: 900px) {
    .about,
    .about-content,
    .about-text {
        background: #ffffff !important;
        color: #222 !important;
    }
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #444;
    line-height: 1.8;
}

.benefits {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.benefits li {
    font-size: 1rem;
    padding: 0.5rem 0;
    color: #333;
}

/* Team Section */
.team-section {
    background: #f8f9fa;
    padding: 80px 20px;
    text-align: center;
}

.team-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.team-section p {
    font-size: 1.1rem;
    color: #666;
}

/* Contact Section */
.contact {
    padding: 80px 20px;
    background: white;
}

.contact h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--gold);
}

.google-form-container {
    max-width: 900px;
    margin: 0 auto 60px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
}

.google-form-container iframe {
    border-radius: 5px;
}

.contact-info-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px 0;
    border-top: 2px solid #e9ecef;
}

.contact-info-section h2 {
    margin-bottom: 3rem;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.1);
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.contact-item p {
    color: #666;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-item a {
    color: var(--gold-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-item a:hover {
    color: var(--gold);
    text-decoration: underline;
}

/* CTA Section */
.cta-section {
    background: var(--white);
    color: #222;
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.04);
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--white);
    color: var(--gold-dark);
    text-align: center;
    padding: 2rem 20px;
    border-top: 1px solid rgba(0,0,0,0.04);
}

.footer p {
    margin: 0;
    color: var(--gold-dark);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .featured-services h2,
    .services h2,
    .about h2,
    .contact h2,
    .cta-section h2 {
        font-size: 2rem;
    }

    .services-grid,
    .services-grid-full,
    .contact-details {
        grid-template-columns: 1fr;
    }

    .benefits {
        grid-template-columns: 1fr;
    }

    .google-form-container iframe {
        height: 600px !important;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.5rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .cta-button,
    .view-more-button {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .nav-menu {
        gap: 0.5rem;
    }

    .contact-item p {
        font-size: 0.85rem;
    }

    .google-form-container iframe {
        height: 500px !important;
    }
}
