/* ============================================
   UTAH LIFE | COLE MECHAM — Real Estate
   Design: Clean, premium, split-hero
   ============================================ */

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1a1a1a;
    background: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* --- Typography --- */
.section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 12px;
}

.section-title {
    font-size: 36px;
    font-weight: 300;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1a1a1a;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    height: 72px;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    height: 36px;
    width: auto;
}

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1a1a1a;
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #666;
    transition: color 0.2s ease;
    padding: 4px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: #1a1a1a;
}

/* ============================================
   HERO (50/50 Split)
   ============================================ */
.hero {
    margin-top: 72px;
}

.hero-split {
    display: flex;
    min-height: calc(100vh - 72px);
}

.hero-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 48px;
    background: #ffffff;
}

.hero-text {
    max-width: 480px;
    text-align: center;
}

.hero-title {
    font-size: 72px;
    font-weight: 200;
    letter-spacing: 12px;
    text-transform: uppercase;
    color: #1a1a1a;
    line-height: 1;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 20px;
}

.hero-subtitle strong {
    font-weight: 700;
    color: #1a1a1a;
}

.exp-text {
    color: #888;
    font-style: italic;
}

.hero-divider {
    width: 40px;
    border: none;
    border-top: 2px solid #d4a853;
    margin: 20px auto;
}

.hero-tagline {
    font-size: 14px;
    color: #888;
    margin-bottom: 28px;
    font-weight: 300;
    letter-spacing: 1px;
}

.hero-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f5f5f0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 16px 36px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: #1a1a1a;
    color: #ffffff;
}

.btn-primary:hover {
    background: #333;
}

.btn-gold {
    background: #d4a853;
    color: #1a1a1a;
}

.btn-gold:hover {
    background: #c49a40;
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* ============================================
   FEATURES SECTION (Dark Navy)
   ============================================ */
.features {
    background: #0c1624;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.features-heading {
    text-align: center;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #d4a853;
    margin-bottom: 60px;
}

.gold-pipe {
    color: #d4a853;
    font-weight: 200;
}

.features-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-bottom: 50px;
}

.feature-item {
    text-align: center;
    max-width: 220px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
}

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

.feature-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffffff;
}

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

/* Star accent */
    position: absolute;
    bottom: 20px;
    right: 30px;
    width: 24px;
    height: 24px;
    opacity: 0.3;
}

    content: '✦';
    font-size: 28px;
    color: #ccc;
}

/* ============================================
   ABOUT PREVIEW
   ============================================ */
.about-preview {
    padding: 100px 0;
    background: #ffffff;
}

.about-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-preview-text p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.about-preview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.stat-block {
    text-align: center;
    padding: 40px 20px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
}

.stat-num {
    display: block;
    font-size: 32px;
    font-weight: 200;
    letter-spacing: 2px;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.stat-lbl {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
}

/* ============================================
   TERRITORY
   ============================================ */
.territory {
    padding: 80px 0;
    background: #fafafa;
    text-align: center;
}

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

.territory-card {
    background: #ffffff;
    padding: 32px 24px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

.territory-card:hover {
    transform: translateY(-4px);
}

.territory-card h3 {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.territory-card p {
    font-size: 13px;
    color: #888;
    line-height: 1.7;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 80px 0;
    background: #0c1624;
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 15px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 32px;
}

.cta-phone {
    font-size: 13px !important;
    margin-top: 16px !important;
    margin-bottom: 0 !important;
    color: rgba(255,255,255,0.5) !important;
}

.cta-phone a {
    color: #d4a853;
    font-weight: 500;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #070e18;
    padding: 60px 0 30px;
    color: rgba(255,255,255,0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 28px;
    width: auto;
    margin-bottom: 16px;
}

.footer-text {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255,255,255,0.5);
}

.footer-col h4 {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #d4a853;
    margin-bottom: 16px;
}

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

.footer-col ul li a {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 4px;
}

.footer-bottom .license {
    color: rgba(255,255,255,0.3);
    font-size: 11px;
}

.footer-bottom .disclaimer {
    font-size: 10px;
    color: rgba(255,255,255,0.2);
    margin-top: 8px;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.page-header {
    margin-top: 72px;
    padding: 80px 0 40px;
    text-align: center;
    background: #fafafa;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 200;
    letter-spacing: 2px;
    color: #1a1a1a;
}

.about-full {
    padding: 80px 0;
}

.about-full-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-full-image img {
    width: 100%;
    border-radius: 8px;
}

.about-full-text h2 {
    font-size: 32px;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #1a1a1a;
}

.about-full-text p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 16px;
}

.about-divider {
    width: 40px;
    border: none;
    border-top: 2px solid #d4a853;
    margin: 24px 0;
}

.about-license {
    font-size: 12px !important;
    color: #999 !important;
    letter-spacing: 1px;
}

/* Stats Bar */
.stats-bar {
    background: #0c1624;
    padding: 60px 0;
}

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

.stat-item .stat-number {
    font-size: 36px;
    font-weight: 200;
    color: #d4a853;
    display: block;
    margin-bottom: 8px;
}

.stat-item .stat-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
}

/* Values */
.values {
    padding: 80px 0;
    background: #ffffff;
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
    text-align: left;
}

.value-card {
    padding: 32px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
}

.value-card h3 {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.value-card p {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
    padding: 60px 0 100px;
}

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

.contact-info h2 {
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.contact-info > p {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 40px;
}

.contact-details {
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.contact-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
    min-width: 100px;
}

.contact-value {
    font-size: 14px;
    color: #1a1a1a;
}

.contact-value a {
    color: #1a1a1a;
    transition: color 0.2s ease;
}

.contact-value a:hover {
    color: #d4a853;
}

.contact-social h3 {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 12px;
}

.social-link {
    display: inline-block;
    font-size: 13px;
    color: #1a1a1a;
    margin-right: 20px;
    transition: color 0.2s;
}

.social-link:hover {
    color: #d4a853;
}

/* --- Form --- */
.contact-form {
    background: #fafafa;
    padding: 40px;
    border-radius: 8px;
}

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

.form-group label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #ffffff;
    color: #1a1a1a;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4a853;
}

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

.form-status {
    margin-top: 16px;
    font-size: 13px;
    text-align: center;
}

.form-status.success {
    color: #4CAF50;
}

.form-status.error {
    color: #e74c3c;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-title { font-size: 56px; letter-spacing: 8px; }
    .features-grid { gap: 48px; }
    .territory-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    /* Nav */
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid #f0f0f0;
        z-index: 999;
    }

    .nav-links.open {
        display: flex;
    }

    /* Hero - Stack vertically on mobile */
    .hero-split {
        flex-direction: column;
        min-height: auto;
    }

    .hero-left {
        padding: 60px 24px 40px;
    }

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

    .hero-right {
        min-height: 400px;
    }

    /* Features */
    .features-grid {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .features-heading {
        font-size: 12px;
        letter-spacing: 3px;
    }

    /* About preview */
    .about-preview-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-preview-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .stat-block {
        padding: 24px 12px;
    }

    .stat-num {
        font-size: 24px;
    }

    /* Territory */
    .territory-grid {
        grid-template-columns: 1fr;
    }

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

    /* About page */
    .about-full-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

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

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

    .contact-form {
        padding: 24px;
    }

    /* CTA */
    .cta-section h2 {
        font-size: 28px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
        letter-spacing: 4px;
    }

    .hero-subtitle {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .hero-right {
        min-height: 300px;
    }

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

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

/* ============================================
   NAV TOGGLE ANIMATION
   ============================================ */
.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);
}
