/* --- Jailthon Remodeling LLC - style.css --- */

/* 1. Google Fonts & Global Variables
-------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
    --navy-blue: #0a2342;
    --gold-accent: #b8860b;
    /* A classic, warm gold */
    --crisp-white: #ffffff;
    --light-gray: #f4f4f4;
    --text-color: #333333;
    --text-light: #555555;
}

/* 2. Global Resets & Base Styles
-------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}



body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--crisp-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--navy-blue);
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: var(--gold-accent);
}

img {
    max-width: 100%;
    height: auto;
}

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

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    margin-bottom: 10px;
}

.section-title p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

/* 3. Utility Classes
-------------------------------------------------- */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--gold-accent);
    color: var(--crisp-white);
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--navy-blue);
    border: 2px solid var(--navy-blue);
}

.btn-secondary:hover {
    background-color: var(--navy-blue);
    color: var(--crisp-white);
}

/* 4. Header & Navigation
-------------------------------------------------- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.main-header.scrolled {
    background-color: var(--crisp-white);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-blue);
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--navy-blue);
    font-weight: 600;
    padding-bottom: 5px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold-accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.header-contact {
    display: flex;
    align-items: center;
}

.header-phone {
    font-weight: 700;
    color: var(--navy-blue);
    margin-right: 20px;
}

.header-phone i {
    color: var(--gold-accent);
    margin-right: 8px;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--navy-blue);
    transition: all 0.3s ease-in-out;
}

/* 5. Hero Section
-------------------------------------------------- */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--crisp-white);
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 35, 66, 0.7);
    /* Navy Blue Overlay */
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
    padding-top: 200px;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--crisp-white);
    margin-bottom: 20px;
}

.hero-content h2 {
    font-size: 1.5rem;
    color: var(--crisp-white);
    font-weight: 400;
    margin-bottom: 40px;
}

.trust-logos {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.trust-logo-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.trust-logo-item i {
    color: var(--gold-accent);
    font-size: 1.5rem;
    margin-right: 10px;
}

/* 6. Introduction Section
-------------------------------------------------- */
.intro-section .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.intro-text {
    flex: 1;
}

.intro-image {
    flex: 1;
    max-width: 500px;
}

.intro-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 7. Services Section
-------------------------------------------------- */
.services-section {
    background-color: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.service-card {
    background-color: var(--crisp-white);
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.service-card .icon {
    font-size: 3rem;
    color: var(--gold-accent);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 10px;
}

/* 8. Featured Project Section
-------------------------------------------------- */
.featured-project .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.featured-project-text {
    flex: 1;
}

.featured-project-images {
    flex: 1.2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.featured-project-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.featured-project-images img:first-child {
    grid-column: 1 / -1;
    /* Span full width */
}

/* 9. "Our Process" Section
-------------------------------------------------- */
.process-section {
    background-color: var(--light-gray);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
}

.process-step {
    text-align: center;
    padding: 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--gold-accent);
    color: var(--crisp-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px auto;
    border: 4px solid var(--crisp-white);
    box-shadow: 0 0 0 3px var(--gold-accent);
}

.process-step h3 {
    margin-bottom: 10px;
}

/* 10. Testimonials Section
-------------------------------------------------- */
.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    padding: 40px;
    text-align: center;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-slide img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-quote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 700;
    color: var(--navy-blue);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
}

.slider-btn {
    background-color: var(--gold-accent);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-btn:hover {
    background-color: #c5a031;
}

.testimonials-cta {
    text-align: center;
    margin-top: 40px;
}

/* 11. Final CTA Section
-------------------------------------------------- */
.final-cta {
    background-color: var(--navy-blue);
    color: var(--crisp-white);
    text-align: center;
}

.final-cta h2,
.final-cta p {
    color: var(--crisp-white);
}

.final-cta h2 {
    margin-bottom: 20px;
}

.final-cta p {
    margin-bottom: 30px;
}

/* 12. Footer
-------------------------------------------------- */
.main-footer {
    background-color: var(--navy-blue);
    color: #c0c8d4;
    padding: 60px 0 20px 0;
}

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

.footer-section h4 {
    color: var(--crisp-white);
    margin-bottom: 20px;
}

.footer-section p,
.footer-section a {
    color: #a9b3c1;
    margin-bottom: 10px;
}

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

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #2c3e50;
    font-size: 0.9rem;
}

.footer-bottom a {
    margin: 0 10px;
}

/* 13. About Page Specifics
-------------------------------------------------- */
.page-header {
    padding-top: 150px;
    padding-bottom: 80px;
    background-color: var(--light-gray);
    text-align: center;
}

.team-grid,
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member,
.value-item {
    text-align: center;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid var(--gold-accent);
}

.value-item i {
    font-size: 2.5rem;
    color: var(--gold-accent);
    margin-bottom: 15px;
}

/* 14. Service Page Specifics
-------------------------------------------------- */
.service-page-content {
    display: flex;
    gap: 60px;
}

.service-main-content {
    flex: 2;
}

.service-sidebar {
    flex: 1;
}

.service-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 40px 0;
}

.service-gallery img {
    border-radius: 5px;
}

.faq-item {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-weight: 600;
    color: var(--navy-blue);
}

/* 15. Portfolio Page
-------------------------------------------------- */
.portfolio-filters {
    text-align: center;
    margin-bottom: 40px;
}

.filter-btn {
    background: none;
    border: 2px solid var(--light-gray);
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--gold-accent);
    color: var(--crisp-white);
    border-color: var(--gold-accent);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.portfolio-item img {
    display: block;
    transition: transform 0.4s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 35, 66, 0.9), transparent);
    color: var(--crisp-white);
    padding: 40px 20px 20px;
    transition: opacity 0.4s ease;
}

.portfolio-overlay h3 {
    color: var(--crisp-white);
}

/* 16. Contact Page
-------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-info-item i {
    font-size: 1.5rem;
    color: var(--gold-accent);
    margin-right: 20px;
    width: 30px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
}

.contact-form textarea {
    min-height: 150px;
}

/* 17. Responsive Design
-------------------------------------------------- */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .intro-section .container,
    .featured-project .container {
        flex-direction: column;
    }

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

@media (max-width: 768px) {
    .container .nav-links {
        position: fixed;
        left: -100%;
        top: 80px;
        /* Height of header */
        flex-direction: column;
        background-color: var(--crisp-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    }

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

    .nav-links li {
        margin: 20px 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .header-contact .btn {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}