/* ============================================
   Angela Miller Real Estate — Custom Styles
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

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

/* ── Typography ── */
h1, h2, h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

/* ── Section Eyebrow ── */
.section-eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #7f1b37;
}

/* ── Section Title ── */
.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    color: #1a1a1a;
    line-height: 1.15;
}

/* ── Section Divider ── */
.section-divider {
    width: 48px;
    height: 1px;
    background: linear-gradient(to right, #7f1b37, #f9d0d9);
}

/* ── Section Body ── */
.section-body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #4a4a4a;
}

/* ── Divider Line ── */
.divider-line {
    height: 1px;
    background: linear-gradient(to right, transparent, #f2a7b6, transparent);
}

/* ── Stat Numbers ── */
.stat-number {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.2;
}

.stat-label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #7f1b37;
    margin-top: 2px;
}

/* ── Buttons ── */
.btn-primary {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #7f1b37;
    border: 1px solid #7f1b37;
    padding: 0.6rem 1.5rem;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #7f1b37;
    transition: left 0.35s ease;
    z-index: -1;
}

.btn-primary:hover {
    color: #fff;
}

.btn-primary:hover::before {
    left: 0;
}

/* ── Hero Buttons ── */
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
    background: #7f1b37;
    padding: 1rem 2rem;
    transition: all 0.4s ease;
}

.btn-hero-primary:hover {
    background: #9c1e40;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(127, 27, 55, 0.3);
}

.btn-hero-arrow {
    transition: transform 0.3s ease;
}

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

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 1rem 2rem;
    transition: all 0.4s ease;
}

.btn-hero-secondary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* ── CTA Button ── */
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #7f1b37;
    background: #fff;
    padding: 1.1rem 2.5rem;
    transition: all 0.4s ease;
}

.btn-cta:hover {
    background: #f9d0d9;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-cta svg {
    transition: transform 0.3s ease;
}

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

/* ── Form Submit ── */
.btn-form-submit {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #fff;
    background: #7f1b37;
    padding: 1rem 2.5rem;
    width: 100%;
    justify-content: center;
    transition: all 0.4s ease;
    margin-top: 4px;
}

.btn-form-submit:hover {
    background: #9c1e40;
    letter-spacing: 0.2em;
}

.btn-form-icon {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.btn-form-submit:hover .btn-form-icon {
    transform: translate(3px, -3px);
}

/* ── Navbar ── */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(254, 253, 251, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(127, 27, 55, 0.08);
}

#navbar.scrolled .logo-name,
#navbar.scrolled .logo-sub,
#navbar.scrolled .nav-link,
#navbar.scrolled .btn-primary {
    color: #1a1a1a;
}

#navbar.scrolled .logo-house-path,
#navbar.scrolled .logo-house-door {
    stroke: #7f1b37;
}

#navbar.scrolled .btn-primary {
    color: #7f1b37;
    border-color: #7f1b37;
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #7f1b37;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #fff;
}

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

/* Logo */
.logo-name {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.logo-sub {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.55rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.3s ease;
}

.logo-mark svg {
    color: #fff;
    transition: color 0.3s ease;
}

#navbar.scrolled .logo-mark svg {
    color: #7f1b37;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 50;
}

.menu-line {
    display: block;
    width: 22px;
    height: 1px;
    background: #fff;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
    background: #1a1a1a;
}

.mobile-menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
    background: #1a1a1a;
}

.mobile-nav-link {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: #1a1a1a;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: #7f1b37;
}

.mobile-cta {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #7f1b37 !important;
    border: 1px solid #7f1b37;
    padding: 0.8rem 2rem;
    margin-top: 8px;
}

/* ── Hero ── */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(26, 26, 26, 0.45) 0%,
        rgba(26, 26, 26, 0.35) 50%,
        rgba(59, 10, 22, 0.65) 100%
    );
}

.hero-content {
    max-width: 720px;
}

.hero-eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 0.7rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.hero-headline {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    color: #fff;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.hero-accent {
    font-style: italic;
    font-weight: 300;
    color: #f9d0d9;
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.8);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.55rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* ── About Section ── */
.about-image-wrapper {
    position: relative;
    overflow: hidden;
}

.about-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border: 1px solid #f2a7b6;
    z-index: -1;
}

/* ── Services ── */
.service-card {
    padding: 2.5rem;
    border-top: 1px solid #fce7eb;
    transition: all 0.4s ease;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #7f1b37;
    transition: width 0.4s ease;
}

.service-card:hover {
    background: #fff5f7;
    border-top-color: transparent;
}

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

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7f1b37;
    margin-bottom: 1.5rem;
}

.service-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.service-desc {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 0.88rem;
    line-height: 1.75;
    color: #666;
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #7f1b37;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 10px;
}

.service-link svg {
    transition: transform 0.3s ease;
}

.service-link:hover svg {
    transform: translateX(3px);
}

/* ── Areas ── */
.areas-image-wrapper {
    position: relative;
    overflow: hidden;
}

.areas-img {
    width: 100%;
    height: 550px;
    object-fit: cover;
}

.areas-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(127, 27, 55, 0.15), transparent 40%);
}

.areas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.area-item {
    display: flex;
    flex-direction: column;
    padding: 1.25rem 0;
    border-bottom: 1px solid #fce7eb;
    transition: all 0.3s ease;
}

.area-item:hover {
    padding-left: 12px;
}

.area-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.2;
}

.area-detail {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #7f1b37;
    margin-top: 4px;
}

/* ── Testimonials ── */
.testimonial-card {
    padding: 2.5rem;
    background: #fefdfb;
    border: 1px solid #fce7eb;
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    border-color: #f2a7b6;
    box-shadow: 0 8px 30px rgba(127, 27, 55, 0.06);
    transform: translateY(-4px);
}

.testimonial-quote-mark {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    font-weight: 300;
    color: #f2a7b6;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.testimonial-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 0.92rem;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 1.5rem;
}

.testimonial-divider {
    width: 32px;
    height: 1px;
    background: #f2a7b6;
    margin-bottom: 1.25rem;
}

.testimonial-author {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #1a1a1a;
}

.testimonial-role {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #7f1b37;
    margin-top: 2px;
}

/* ── CTA Section ── */
.cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cta-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(59, 10, 22, 0.72),
        rgba(26, 26, 26, 0.65)
    );
}

.cta-content {
    max-width: 640px;
    margin: 0 auto;
}

.cta-eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 0.7rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
}

.cta-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 300;
    color: #fff;
    line-height: 1.1;
}

.cta-accent {
    font-style: italic;
    font-weight: 300;
    color: #f9d0d9;
}

.cta-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.8);
}

/* ── Contact Form ── */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    color: #1a1a1a;
    background: transparent;
    border: none;
    border-bottom: 1px solid #f2a7b6;
    padding: 0.75rem 0;
    outline: none;
    transition: border-color 0.3s ease;
    -webkit-appearance: none;
    border-radius: 0;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #ccc;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-bottom-color: #7f1b37;
}

.form-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237f1b37' stroke-width='1.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 2rem;
}

.form-select option {
    background: #fff;
    color: #1a1a1a;
}

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

/* Success Message */
.form-success {
    text-align: center;
    padding: 3rem 1rem;
}

.form-success.hidden {
    display: none;
}

.success-icon {
    margin: 0 auto 1.5rem;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.success-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #666;
}

/* ── Contact Info ── */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f2a7b6;
    border-radius: 50%;
    color: #7f1b37;
    margin-top: 2px;
}

.contact-label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 4px;
}

.contact-value {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.5;
}

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

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

.brand-credential-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 0.82rem;
    line-height: 1.7;
    color: #666;
}

/* ── Footer ── */
.footer-logo-name {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
}

.footer-logo-sub {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.55rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
}

.footer-heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.25rem;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-nav-link:hover {
    color: #f9d0d9;
    padding-left: 6px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
    line-height: 1.5;
}

.footer-contact-link:hover {
    color: #f9d0d9;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-copyright {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-disclaimer {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.25);
}

/* ── Animations ── */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-up {
    transform: translateY(30px);
}

.reveal-left {
    transform: translateX(-30px);
}

.reveal-right {
    transform: translateX(30px);
}

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .about-img {
        height: 400px;
    }

    .areas-img {
        height: 400px;
    }

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

    .hero-headline {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .about-image-accent {
        display: none;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }
}
