/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0A4C6D;
    --secondary-color: #1B9AAA;
    --accent-color: #F4A261;
    --dark-color: #1A1A1A;
    --light-color: #F8F9FA;
    --text-dark: #2C3E50;
    --text-light: #ffffff;
    --gold: #D4AF37;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;

    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.title-underline {
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
    margin: 0 auto 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: var(--transition);
}

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

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    letter-spacing: 2px;
    white-space: nowrap;
}

/* Used on contact.html where the logo is a link rather than an h1 */
.nav-logo-home-link {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 2px;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.2;
}

/* Highlight the current page link in the nav */
.nav-link--active {
    color: var(--secondary-color);
}

.nav-link--active::after {
    width: 100%;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--secondary-color);
}

.nav-link:hover::after {
    width: 100%;
}

/* Services dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    list-style: none;
    min-width: 220px;
    padding: 8px 0;
    z-index: 1100;
    border-top: 3px solid var(--secondary-color);
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: var(--transition);
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    color: var(--secondary-color);
    background: var(--light-color);
    padding-left: 26px;
}

/* Groups nav links + phone number on the right side of the bar */
.nav-right {
    display: flex;
    align-items: center;
    gap: 0;
}

/* Phone number — sits next to the brand name in the logo group */
.nav-phone {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    letter-spacing: 0.5px;
    white-space: nowrap;
    padding-left: 1.25rem;
    margin-left: 1.25rem;
    border-left: 2px solid #ddd;
    transition: var(--transition);
}

.nav-phone:hover {
    color: var(--secondary-color);
}

/* "Get A Quote" button — inline with the nav links */
.nav-quote-btn {
    display: inline-block;
    background: var(--accent-color);
    color: var(--text-light);
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    font-family: var(--font-body);
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: var(--transition);
    line-height: 1;
}

.nav-quote-btn:hover {
    background: #E8944F;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(244, 162, 97, 0.4);
    color: var(--text-light);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0A4C6D; /* fallback while first slide loads */
    overflow: hidden;
}

/* ── Hero Image Carousel ────────────────────────────────────────────────────
   z-index stack:  carousel (0) → overlay (1) → content / scroll indicator (2)
   ────────────────────────────────────────────────────────────────────────── */
.hero-carousel {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    will-change: opacity;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide--1 { background-image: url('images/front_carousel/IMG_0034.JPG'); }
.hero-slide--2 { background-image: url('images/front_carousel/IMG_0594.JPG'); }
.hero-slide--3 { background-image: url('images/front_carousel/IMG_1209.JPG'); }
.hero-slide--4 { background-image: url('images/front_carousel/IMG_1548.JPG'); }
.hero-slide--5 { background-image: url('images/front_carousel/IMG_2190.JPG'); }
.hero-slide--6 { background-image: url('images/front_carousel/IMG_3801.JPG'); }

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
    max-width: 900px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 20px rgba(0,0,0,0.3);
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-shadow: 1px 1px 10px rgba(0,0,0,0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-light);
    animation: bounce 2s infinite;
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--text-light);
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--text-light);
    box-shadow: 0 10px 30px rgba(244, 162, 97, 0.3);
}

.btn-primary:hover {
    background: #E8944F;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(244, 162, 97, 0.4);
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--light-color);
}

.section-header {
    margin-bottom: 4rem;
}

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

.about-text {
    text-align: center;
}

.lead {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #555;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid #ddd;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: white;
}

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

.service-card {
    display: block;
    text-decoration: none;
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    transition: var(--transition);
    border: 1px solid #f0f0f0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    line-height: 1.7;
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background: var(--light-color);
}

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

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
    transition: var(--transition);
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

/* Process Section */
.process {
    padding: 100px 0;
    background: white;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--light-color);
    border-radius: 15px;
    transition: var(--transition);
}

.process-step:hover {
    background: white;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.process-step h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.process-step p {
    color: #666;
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 2.5rem 6rem;
}

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--accent-color);
}

.contact-item p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.contact-item a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--accent-color);
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-light);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.15);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ── Contact Us Page ────────────────────────────────────────────────────── */
.contact-page-header {
    padding: 140px 0 60px; /* top clears the fixed navbar */
    background: var(--light-color);
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.contact-page-header h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.contact-page-header p {
    font-size: 1.15rem;
    color: #666;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* ── Contact Page Photo Showcase ────────────────────────────────────────── */
.contact-showcase {
    background: #fff;
    padding: 70px 0 50px;
}

.showcase-item {
    width: 62%;
    margin-bottom: 3rem;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.13);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.showcase-item:last-child {
    margin-bottom: 0;
}

.showcase-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
}

.showcase-item img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

/* Odd items sit on the left, even items on the right */
.showcase-item--left {
    margin-right: auto;
}

.showcase-item--right {
    margin-left: auto;
}

@media (max-width: 768px) {
    .showcase-item {
        width: 100%;
    }
    .showcase-item img {
        height: 260px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Hide phone number in header on small screens — available in Contact section */
    .nav-phone {
        display: none;
    }

    /* Let the quote button look natural in the vertical mobile menu */
    .nav-quote-btn {
        padding: 10px 24px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1.5rem 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .nav-logo h1 {
        font-size: 1.2rem;
    }

    .btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
}
