/* ============================================
   Father & Son New World Construction LLC
   Industrial-Craft Aesthetic
   ============================================ */

/* CSS Variables */
:root {
    /* Primary Colors */
    --navy: #1a365d;
    --navy-dark: #0f2341;
    --navy-light: #2d4a7c;

    /* Accent Colors */
    --orange: #e85d04;
    --orange-dark: #c44d00;
    --orange-light: #ff7b2e;

    /* Neutrals */
    --white: #ffffff;
    --off-white: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;

    /* Concrete Texture */
    --concrete: #e8e6e3;
    --concrete-dark: #d1cec9;

    /* Typography */
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Source Sans 3', sans-serif;

    /* Spacing */
    --section-padding: 100px;
    --container-width: 1200px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 54, 93, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px 0;
    transition: all var(--transition-medium);
}

.navbar.scrolled {
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-img {
    height: 45px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
    position: relative;
    padding: 8px 0;
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition-medium);
}

/* Language Toggle */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
}

.lang-option {
    color: var(--gray-400);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.lang-option.active {
    color: var(--orange);
}

.lang-option:hover {
    color: var(--white);
}

.lang-divider {
    color: var(--gray-500);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

.hero-stripes {
    position: absolute;
    top: 0;
    right: -200px;
    width: 600px;
    height: 100%;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 20px,
        var(--orange) 20px,
        var(--orange) 40px
    );
    opacity: 0.08;
    transform: skewX(-15deg);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 24px 80px;
    max-width: 900px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 400;
    color: var(--white);
    line-height: 0.95;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero-subtitle {
    display: block;
    color: var(--orange);
    font-size: clamp(2rem, 7vw, 4rem);
}

.hero-tagline {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--gray-300);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 12px 24px;
    background: rgba(232, 93, 4, 0.15);
    border: 1px solid rgba(232, 93, 4, 0.3);
    border-radius: 4px;
}

.badge-text {
    font-family: var(--font-display);
    font-size: 0.95rem;
    letter-spacing: 2px;
    color: var(--orange-light);
}

.badge-divider {
    color: var(--orange);
    opacity: 0.5;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 93, 4, 0.4);
}

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

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

.btn-icon {
    width: 20px;
    height: 20px;
}

.btn-full {
    width: 100%;
}

.btn-arrow {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-fast);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--gray-400);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--gray-400);
    border-bottom: 2px solid var(--gray-400);
    transform: rotate(45deg);
}

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

/* ============================================
   Section Styling
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header-left {
    text-align: left;
}

.section-header-light .section-tag,
.section-header-light .section-title {
    color: var(--white);
}

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 12px;
    position: relative;
}

.section-tag::before,
.section-tag::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 2px;
    background: var(--orange);
    opacity: 0.5;
}

.section-tag::before {
    right: calc(100% + 16px);
}

.section-tag::after {
    left: calc(100% + 16px);
}

.section-header-left .section-tag::before,
.section-header-left .section-tag::after {
    display: none;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    color: var(--navy);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ============================================
   Services Section
   ============================================ */
.services {
    padding: var(--section-padding) 0;
    background: var(--off-white);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--navy) 0%, var(--orange) 50%, var(--navy) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: 4px;
    border: 1px solid var(--gray-200);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--orange);
    transition: height var(--transition-medium);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(26, 54, 93, 0.12);
    border-color: transparent;
}

.service-card:hover::before {
    height: 100%;
}

.service-card-highlight {
    background: var(--navy);
    border-color: var(--navy);
}

.service-card-highlight .service-title,
.service-card-highlight .service-desc {
    color: var(--white);
}

.service-card-highlight .service-icon {
    background: rgba(232, 93, 4, 0.2);
    color: var(--orange);
}

.service-card-highlight::before {
    background: var(--orange-light);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 4px;
    margin-bottom: 20px;
    color: var(--navy);
    transition: all var(--transition-medium);
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-card:hover .service-icon {
    background: var(--orange);
    color: var(--white);
}

.service-card-highlight:hover .service-icon {
    background: var(--orange);
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--navy);
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ============================================
   Service Areas Section
   ============================================ */
.areas {
    padding: var(--section-padding) 0;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.areas::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(232, 93, 4, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.areas-content {
    text-align: center;
}

.areas-intro {
    font-size: 1.25rem;
    color: var(--gray-400);
    margin-bottom: 48px;
}

.areas-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.area-badge {
    padding: 20px 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    transition: all var(--transition-medium);
}

.area-badge:hover {
    background: var(--orange);
    border-color: var(--orange);
    transform: scale(1.05);
}

.area-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--white);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ============================================
   Gallery Section
   ============================================ */
.gallery {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 54, 93, 0.8) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-placeholder {
    grid-column: 1 / -1;
    padding: 80px 40px;
    background: var(--gray-100);
    border-radius: 4px;
    text-align: center;
    border: 2px dashed var(--gray-300);
}

.gallery-placeholder p {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--gray-500);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.gallery-placeholder span {
    font-size: 0.9rem;
    color: var(--gray-400);
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    padding: var(--section-padding) 0;
    background: var(--off-white);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--orange) 0%, var(--navy) 50%, var(--orange) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-intro {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    border-radius: 4px;
    color: var(--white);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-icon.whatsapp-icon {
    background: #25D366;
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-500);
}

.contact-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy);
}

a.contact-value:hover {
    color: var(--orange);
}

.contact-hours {
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.8;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(26, 54, 93, 0.1);
    overflow: hidden;
}

.form-header {
    background: var(--navy);
    padding: 24px 32px;
}

.form-header h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--white);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.contact-form {
    padding: 32px;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-600);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--gray-800);
    background: var(--gray-100);
    border: 2px solid transparent;
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: var(--white);
    border-color: var(--orange);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-note {
    text-align: center;
    padding: 0 32px 24px;
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--navy-dark);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    height: 50px;
    width: auto;
}

.footer-tagline {
    font-size: 0.95rem;
    color: var(--gray-500);
    letter-spacing: 1px;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-social-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-500);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    color: var(--gray-400);
    transition: all var(--transition-medium);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-link:hover {
    background: var(--orange);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 30px;
    text-align: center;
}

.copyright {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* ============================================
   Lightbox
   ============================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(15, 35, 65, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 2.5rem;
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.lightbox-close:hover {
    background: var(--orange);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 80px;
    font-size: 2.5rem;
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.lightbox-prev { left: 20px; border-radius: 4px; }
.lightbox-next { right: 20px; border-radius: 4px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--orange);
}

.lightbox-image {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-brand {
        flex-direction: column;
        gap: 12px;
    }

    .footer-social {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 70px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--navy-dark);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        transition: right var(--transition-medium);
    }

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

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

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

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

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

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .section-tag::before,
    .section-tag::after {
        display: none;
    }

    .areas-grid {
        flex-direction: column;
        align-items: center;
    }

    .area-badge {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-badge {
        flex-direction: column;
        gap: 8px;
    }

    .badge-divider {
        display: none;
    }

    .contact-form,
    .form-header {
        padding: 20px;
    }
}
