/* =====================================================
   ZenBurgh Properties - Main Stylesheet
   ===================================================== */

/* CSS Variables */
:root {
    --primary-color: #0c6177;
    --primary-dark: #094d5f;
    --primary-light: #0e7a96;
    --secondary-color: #f5a623;
    --secondary-dark: #d9911d;
    --text-color: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --error-color: #dc3545;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--primary-dark);
}

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

ul {
    list-style: none;
}

.hidden {
    display: none !important;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: var(--secondary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

.btn-block {
    display: block;
    width: 100%;
}

/* =====================================================
   Header
   ===================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

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

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

/* Keep text logo styles for fallback */
.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
}

.logo-subtext {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

.nav-list {
    display: flex;
    gap: 4px;
}

.nav-link {
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background-color: rgba(12, 97, 119, 0.08);
}

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

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    background-color: rgba(12, 97, 119, 0.1);
    border-radius: var(--radius-md);
}

.phone-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.phone-icon {
    flex-shrink: 0;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* =====================================================
   Hero Section
   ===================================================== */
.hero {
    position: relative;
    min-height: 700px;
    padding: 140px 0 80px;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-color: var(--primary-color);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(12, 97, 119, 0.6) 0%, rgba(9, 77, 95, 0.55) 100%);
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: center;
}

.hero-content {
    color: var(--white);
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 16px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 32px;
    opacity: 0.95;
}

.hero-benefits {
    list-style: none;
}

.hero-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    margin-bottom: 12px;
}

.hero-benefits li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
}

/* Form Card */
.form-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-lg);
}

.form-title {
    font-size: 28px;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 8px;
}

.form-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 24px;
}

.lead-form .form-group {
    margin-bottom: 16px;
}

.lead-form input[type="text"],
.lead-form input[type="email"],
.lead-form input[type="tel"],
.lead-form textarea,
.lead-form select {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    font-family: inherit;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.lead-form input:focus,
.lead-form textarea:focus,
.lead-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(12, 97, 119, 0.1);
}

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

.checkbox-group {
    margin-top: 8px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-light);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
}

.form-disclaimer {
    margin-top: 16px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

/* =====================================================
   Trust Bar
   ===================================================== */
.trust-bar {
    background-color: var(--light-bg);
    padding: 32px 0;
    border-bottom: 1px solid var(--border-color);
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.trust-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.trust-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
}

.trust-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =====================================================
   Process Section
   ===================================================== */
.process-section {
    padding: 80px 0;
    background-color: var(--white);
}

.section-title {
    font-size: 40px;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 48px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.process-step {
    text-align: center;
    padding: 24px;
    position: relative;
}

.step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background-color: var(--secondary-color);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 24px auto 20px;
    color: var(--primary-color);
}

.step-icon svg,
.step-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.step-title {
    font-size: 20px;
    color: var(--text-color);
    margin-bottom: 12px;
}

.step-description {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

.process-cta {
    text-align: center;
}

/* =====================================================
   Situations Section
   ===================================================== */
.situations-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.situations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.situation-card {
    background-color: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.situation-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.situation-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    color: var(--primary-color);
}

.situation-icon svg {
    width: 100%;
    height: 100%;
}

.situation-card h3 {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 8px;
}

.situation-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* =====================================================
   Why Us Section
   ===================================================== */
.why-us-section {
    padding: 80px 0;
    background-color: var(--white);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 48px;
}

.why-us-item {
    display: flex;
    gap: 20px;
}

.why-us-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    color: var(--success-color);
}

.why-us-icon svg {
    width: 100%;
    height: 100%;
}

.why-us-item h3 {
    font-size: 20px;
    color: var(--text-color);
    margin-bottom: 8px;
}

.why-us-item p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

/* =====================================================
   Social Proof Section
   ===================================================== */
.social-proof-section {
    padding: 32px 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.social-proof-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.social-proof-item {
    display: block;
}

.social-proof-item img {
    height: 110px;
    width: auto;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.social-proof-item:hover img {
    opacity: 1;
}

.process-timeline-note {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 32px;
    padding: 16px 24px;
    background-color: var(--light-bg);
    border-radius: var(--radius-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.why-us-intro {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 700px;
    margin: 16px auto 0;
}

.why-us-header {
    text-align: center;
    margin-bottom: 16px;
}

.why-us-image {
    max-width: 300px;
    margin: 0 auto 24px;
}

.why-us-image img {
    width: 100%;
    height: auto;
}

/* =====================================================
   Family Owned Section
   ===================================================== */
.family-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

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

.family-image {
    max-width: 200px;
    width: 100%;
    height: auto;
    margin-bottom: 32px;
    border-radius: var(--radius-lg);
}

.family-text {
    margin-top: 32px;
}

.family-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

.family-text p:first-child a {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
}

.family-text p:first-child a:hover {
    color: var(--secondary-color);
}

/* =====================================================
   CTA Section
   ===================================================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.cta-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 12px;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}

.lead-form-inline {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 700px;
}

.lead-form-inline .form-group {
    flex: 1;
    min-width: 200px;
}

.lead-form-inline input {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    border: none;
    border-radius: var(--radius-md);
}

.lead-form-inline .btn {
    padding: 16px 40px;
    white-space: nowrap;
}

/* =====================================================
   Footer
   ===================================================== */
.footer {
    background-color: #1a1a1a;
    color: var(--white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo-img {
    height: 45px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-logo .logo-text {
    color: var(--white);
}

.footer-logo .logo-subtext {
    color: rgba(255, 255, 255, 0.6);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin: 16px 0 24px;
    line-height: 1.7;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-contact svg {
    flex-shrink: 0;
    color: var(--primary-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
}

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

/* =====================================================
   Page-Specific Styles
   ===================================================== */

/* Page Header */
.page-header {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

.page-header h1 {
    font-size: 44px;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 20px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Content Sections */
.content-section {
    padding: 80px 0;
}

.content-section:nth-child(even) {
    background-color: var(--light-bg);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background-color: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.testimonial-content {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-content::before {
    content: '"';
    font-size: 48px;
    font-family: Georgia, serif;
    color: var(--primary-color);
    opacity: 0.3;
    line-height: 0;
    display: block;
    margin-bottom: 12px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 18px;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--text-color);
}

.author-location {
    font-size: 14px;
    color: var(--text-muted);
}

/* Compare Table */
.compare-table-wrapper {
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.compare-table th,
.compare-table td {
    padding: 20px 24px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.compare-table th {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    font-size: 16px;
}

.compare-table th:first-child {
    background-color: var(--primary-dark);
}

.compare-table td:first-child {
    font-weight: 600;
    color: var(--text-color);
}

.compare-table tr:last-child td {
    border-bottom: none;
}

.compare-table tr:hover td {
    background-color: var(--light-bg);
}

.check-icon {
    color: var(--success-color);
    font-size: 20px;
}

.x-icon {
    color: var(--error-color);
    font-size: 20px;
}

/* About Page */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 16px;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.value-card {
    text-align: center;
    padding: 32px 24px;
}

.value-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: var(--primary-color);
}

.value-card h3 {
    font-size: 20px;
    color: var(--text-color);
    margin-bottom: 12px;
}

.value-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Form Success State */
.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success h3 {
    font-size: 24px;
    color: var(--success-color);
    margin-bottom: 12px;
}

.form-success p {
    color: var(--text-light);
}

/* =====================================================
   Responsive Design
   ===================================================== */

@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 40px;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .situations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .about-image {
        order: -1;
    }

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

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--white);
        box-shadow: var(--shadow-md);
        padding: 20px;
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-link {
        display: block;
        padding: 12px 16px;
    }

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

    .header-contact {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-form-wrapper {
        max-width: 100%;
    }

    .trust-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto 48px;
    }

    .section-title {
        font-size: 32px;
    }

    .situations-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .lead-form-inline {
        flex-direction: column;
    }

    .lead-form-inline .form-group {
        min-width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

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

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

    .page-header h1 {
        font-size: 32px;
    }

    .compare-table th,
    .compare-table td {
        padding: 12px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 28px;
    }

    .form-card {
        padding: 24px 20px;
    }

    .trust-number {
        font-size: 28px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}
