:root {
    --steel-blue: #1f5fa8;
    --deep-navy: #0f2a44;
    --steel-gray: #8A99A8;
    --brushed-aluminum: #B8C5D0;
    --polished-silver: #D4DCE3;
    --white: #ffffff;
    --off-white: #f8f9fa;
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--deep-navy);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0.75rem;
}

.lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--deep-navy);
    font-weight: 300;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--polished-silver);
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: 0 2px 20px rgba(15, 42, 68, 0.1);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--steel-blue);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.logo img {
    display: block;
}

.logo span {
    color: var(--deep-navy);
    font-weight: 400;
}

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

.nav-links a {
    color: var(--deep-navy);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a.active {
    color: var(--steel-blue);
    font-weight: 500;
}

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--steel-blue);
}

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

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

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--deep-navy);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    margin-top: 90px;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--deep-navy) 0%, var(--steel-blue) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(184, 197, 208, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(212, 220, 227, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: var(--white);
    max-width: 900px;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-tagline {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: var(--polished-silver);
    max-width: 700px;
    margin-bottom: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    animation: fadeInUp 1s ease 0.4s both;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn {
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 2px;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--white);
    color: var(--steel-blue);
    border: 2px solid var(--white);
}

.btn-primary:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.btn-secondary:hover {
    background: var(--white);
    color: var(--steel-blue);
    transform: translateY(-2px);
}

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

/* Page Hero (for internal pages) */
.page-hero {
    margin-top: 90px;
    padding: 10rem 2rem 6rem 2rem;
    background: linear-gradient(135deg, var(--deep-navy) 0%, var(--steel-blue) 100%);
    text-align: center;
    color: var(--white);
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    color: var(--polished-silver);
}

.commercial-hero {
    background: linear-gradient(135deg, var(--steel-blue) 0%, var(--deep-navy) 100%);
}

.residential-hero {
    background: linear-gradient(135deg, var(--deep-navy) 0%, var(--steel-blue) 100%);
}

/* Section Styles */
section {
    padding: 6rem 2rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.section-header h2 {
    color: var(--deep-navy);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--steel-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Quick About Section (Home page) */
.quick-about {
    background: var(--off-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    color: var(--deep-navy);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--deep-navy);
    margin-bottom: 2rem;
}

.stats-grid {
    display: grid;
    gap: 2rem;
}

/* About Section (About page) */
.about-section {
    background: var(--off-white);
}

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

.about-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--deep-navy);
    margin-bottom: 1.5rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid var(--brushed-aluminum);
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--steel-blue);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--steel-gray);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Values Section */
.values {
    background: var(--deep-navy);
    color: var(--white);
}

.values h2 {
    color: var(--white);
    text-align: center;
    margin-bottom: 1rem;
}

.values .section-subtitle {
    text-align: center;
    color: var(--brushed-aluminum);
}

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

.value-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: var(--steel-blue);
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: var(--steel-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.value-card h3 {
    color: var(--polished-silver);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.value-card p {
    color: var(--brushed-aluminum);
    line-height: 1.8;
}

/* Services Overview (Home page) */
.services-overview {
    background: var(--white);
}

.services-overview h2 {
    text-align: center;
    color: var(--deep-navy);
    margin-bottom: 3rem;
}

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

.service-card {
    background: var(--off-white);
    padding: 3rem;
    border-radius: 4px;
    border-left: 4px solid var(--steel-blue);
    transition: all 0.3s ease;
}

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

.service-card h3 {
    color: var(--steel-blue);
    margin-bottom: 0.5rem;
}

.service-location {
    color: var(--steel-gray);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.service-card p {
    color: var(--deep-navy);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Services Detail (Service pages) */
.services-detail {
    background: var(--white);
}

.service-intro {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
}

.service-intro h2 {
    color: var(--deep-navy);
    margin-bottom: 1.5rem;
}

.services-list {
    display: grid;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.service-item {
    background: var(--off-white);
    padding: 2.5rem;
    border-radius: 4px;
    border-left: 4px solid var(--steel-blue);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(15, 42, 68, 0.1);
}

.service-item h3 {
    color: var(--steel-blue);
    margin-bottom: 1rem;
}

.service-item p {
    color: var(--deep-navy);
    line-height: 1.8;
}

/* Why Choose Section */
.why-choose {
    background: var(--off-white);
}

.why-choose h2 {
    text-align: center;
    color: var(--deep-navy);
    margin-bottom: 3rem;
}

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

.reason {
    text-align: center;
    padding: 2rem;
}

.reason h3 {
    color: var(--steel-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.reason p {
    color: var(--deep-navy);
    line-height: 1.8;
}

/* Portfolio Section */
.portfolio {
    background: var(--off-white);
}

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

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 4/3;
    background: var(--brushed-aluminum);
    cursor: pointer;
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(15, 42, 68, 0.2);
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--steel-blue) 0%, var(--deep-navy) 100%);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover::before {
    opacity: 0.95;
}

.portfolio-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 1;
    width: 80%;
}

.portfolio-item h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.portfolio-item p {
    color: var(--polished-silver);
    font-size: 0.95rem;
}

.placeholder-text {
    font-size: 0.85rem;
    color: var(--brushed-aluminum);
    margin-top: 0.5rem;
    font-style: italic;
}

/* Contact Section */
.contact {
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    background: var(--off-white);
    padding: 3rem;
    border-radius: 4px;
}

.contact-info h3 {
    color: var(--steel-blue);
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-label {
    font-size: 0.85rem;
    color: var(--steel-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.contact-detail {
    font-size: 1.1rem;
    color: var(--deep-navy);
    font-weight: 500;
}

.contact-detail a {
    color: var(--steel-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-detail a:hover {
    color: var(--deep-navy);
}

.contact-form {
    background: var(--deep-navy);
    padding: 3rem;
    border-radius: 4px;
    color: var(--white);
}

.contact-form h3 {
    color: var(--polished-silver);
    margin-bottom: 2rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--brushed-aluminum);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border-radius: 2px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--steel-blue);
    background: rgba(255, 255, 255, 0.08);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--steel-gray);
}

.form-group select {
    cursor: pointer;
}

.submit-btn {
    width: 100%;
    padding: 1.2rem;
    background: var(--steel-blue);
    color: var(--white);
    border: none;
    border-radius: 2px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--white);
    color: var(--steel-blue);
    transform: translateY(-2px);
}

/* CTA Section */
.cta-section {
    background: var(--steel-blue);
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    color: var(--polished-silver);
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background: var(--deep-navy);
    color: var(--brushed-aluminum);
    padding: 3rem 2rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--polished-silver);
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--steel-gray);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-nav a {
    color: var(--brushed-aluminum);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--white);
}

.footer-contact {
    margin-bottom: 2rem;
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: var(--steel-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 968px) {
    .nav-links {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: left 0.3s ease;
    }

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

    .menu-toggle {
        display: flex;
    }

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

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

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

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

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        text-align: center;
    }

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

@media (max-width: 600px) {
    section {
        padding: 4rem 1.5rem;
    }

    .hero-content {
        padding: 3rem 1.5rem;
    }
}