/* ============================================
   Silver Oak Apartments — Custom Styles
   ============================================ */

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

:root {
    --charcoal: #36454F;
    --charcoal-deep: #2C3A43;
    --charcoal-light: #4A5B66;
    --coral: #F97066;
    --coral-light: #FF9A8F;
    --coral-dark: #E85D54;
    --cream: #FDF8F6;
    --warm-white: #FFFAF8;
    --sand: #F5EDE8;
    --text: #2D3748;
    --text-light: #718096;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow-sm: 0 2px 8px rgba(54, 69, 79, 0.06);
    --shadow-md: 0 4px 20px rgba(54, 69, 79, 0.08);
    --shadow-lg: 0 8px 40px rgba(54, 69, 79, 0.12);
    --shadow-coral: 0 8px 30px rgba(249, 112, 102, 0.3);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--warm-white);
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--charcoal);
}

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

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

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

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

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--charcoal);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-size: 14px;
}

.skip-link:focus {
    top: 16px;
}

/* ============================================
   Decorative Blobs
   ============================================ */
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: var(--coral);
    top: -200px;
    right: -200px;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: var(--coral-light);
    bottom: 20%;
    left: -100px;
}

/* ============================================
   Header
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
}

.header.scrolled {
    background: rgba(255, 250, 248, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--charcoal);
}

.logo__text {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
}

.logo--light .logo__text {
    color: white;
}

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

.nav-toggle__bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

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

.nav__list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav__link {
    color: var(--charcoal);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.nav__link:hover {
    background: var(--sand);
    color: var(--charcoal);
}

.nav__link--cta {
    background: var(--coral);
    color: white;
    margin-left: 8px;
}

.nav__link--cta:hover {
    background: var(--coral-dark);
    color: white;
}

/* ============================================
   Hero
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(54, 69, 79, 0.82) 0%,
        rgba(44, 58, 67, 0.70) 50%,
        rgba(54, 69, 79, 0.55) 100%
    );
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/6835102/pexels-photo-6835102.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center/cover no-repeat;
    z-index: 0;
}

.hero__content {
    position: relative;
    z-index: 2;
    padding: 120px 0 80px;
    max-width: 720px;
}

.hero__eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--coral);
    background: rgba(249, 112, 102, 0.15);
    border: 1px solid rgba(249, 112, 102, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero__title {
    font-size: clamp(2.5rem, 5.5vw, 4.2rem);
    color: white;
    margin-bottom: 24px;
    line-height: 1.15;
}

.hero__subtitle {
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 560px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.6);
    animation: bounce 2s infinite;
}

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

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--coral);
    color: white;
    border-color: var(--coral);
    box-shadow: var(--shadow-coral);
}

.btn--primary:hover {
    background: var(--coral-dark);
    border-color: var(--coral-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(249, 112, 102, 0.4);
    color: white;
}

.btn--outline {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline:hover {
    background: white;
    color: var(--charcoal);
    border-color: white;
    transform: translateY(-2px);
}

.btn--outline-white {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

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

.btn--white {
    background: white;
    color: var(--charcoal);
    border-color: white;
}

.btn--white:hover {
    background: var(--sand);
    transform: translateY(-2px);
}

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

.btn--full {
    width: 100%;
    justify-content: center;
}

/* ============================================
   Section Shared
   ============================================ */
.section-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 560px;
    line-height: 1.8;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* ============================================
   Intro
   ============================================ */
.intro {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.intro__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.intro__images {
    position: relative;
}

.intro__img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.intro__img-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.intro__img-accent {
    position: absolute;
    bottom: -32px;
    right: -24px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--warm-white);
}

.intro__img-accent img {
    width: 240px;
    height: 180px;
    object-fit: cover;
}

.intro__badge {
    position: absolute;
    top: -20px;
    left: -16px;
    background: white;
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--charcoal);
    line-height: 1.5;
    max-width: 220px;
}

.intro__badge svg {
    flex-shrink: 0;
}

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

.intro__stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--sand);
}

.stat {
    text-align: center;
}

.stat__number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1;
    margin-bottom: 4px;
}

.stat__label {
    font-size: 13px;
    color: var(--text-light);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--sand);
}

/* ============================================
   Apartments / Floor Plans
   ============================================ */
.apartments {
    padding: 100px 0;
    background: var(--sand);
    position: relative;
    z-index: 1;
}

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

.floorplan-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
}

.floorplan-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.floorplan-card__img {
    overflow: hidden;
    height: 220px;
}

.floorplan-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.floorplan-card:hover .floorplan-card__img img {
    transform: scale(1.05);
}

.floorplan-card__body {
    padding: 28px;
}

.floorplan-card__tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--coral);
    background: rgba(249, 112, 102, 0.1);
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.floorplan-card__name {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.floorplan-card__desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.floorplan-card__features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.floorplan-card__features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text);
}

.floorplan-card__features svg {
    flex-shrink: 0;
}

/* ============================================
   Amenities
   ============================================ */
.amenities {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

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

.amenity-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid transparent;
}

.amenity-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(249, 112, 102, 0.2);
}

.amenity-card__icon {
    width: 56px;
    height: 56px;
    background: rgba(249, 112, 102, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.amenity-card__title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.amenity-card__desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   Neighborhood
   ============================================ */
.neighborhood {
    padding: 100px 0;
    background: var(--charcoal);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.neighborhood::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: var(--coral);
    border-radius: 50%;
    opacity: 0.06;
    filter: blur(60px);
}

.neighborhood__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.neighborhood__content .section-eyebrow {
    color: var(--coral);
}

.neighborhood__content .section-title {
    color: white;
}

.neighborhood__content > p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    line-height: 1.8;
}

.poi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 36px;
}

.poi {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: all var(--transition);
}

.poi:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(249, 112, 102, 0.3);
}

.poi__name {
    font-weight: 600;
    color: white;
    font-size: 15px;
}

.poi__detail {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.neighborhood__image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.neighborhood__image img {
    width: 100%;
    height: 560px;
    object-fit: cover;
}

/* ============================================
   CTA Strip
   ============================================ */
.cta-strip {
    padding: 80px 0;
    background: var(--coral);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.cta-strip::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.cta-strip::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-strip__inner {
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.cta-strip__title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: white;
}

.cta-strip__text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 500px;
}

.cta-strip__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 8px;
}

/* ============================================
   Contact
   ============================================ */
.contact {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

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

.contact-detail {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-detail__icon {
    width: 48px;
    height: 48px;
    background: rgba(249, 112, 102, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 4px;
}

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

.contact-detail a {
    color: var(--text-light);
}

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

.contact__form-wrap {
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.contact-form__title {
    font-size: 1.4rem;
    margin-bottom: 28px;
}

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

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--sand);
    border-radius: var(--radius-md);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: var(--text);
    background: var(--warm-white);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--coral);
    background: white;
    box-shadow: 0 0 0 3px rgba(249, 112, 102, 0.1);
}

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

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

.form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 16px 20px;
    background: rgba(16, 185, 129, 0.08);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: #065F46;
}

.form-success svg {
    flex-shrink: 0;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--charcoal-deep);
    padding: 64px 0 32px;
    position: relative;
    z-index: 1;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer__tagline {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin-top: 16px;
    max-width: 280px;
    line-height: 1.7;
}

.footer__links strong,
.footer__contact strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 16px;
}

.footer__links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.footer__links a:hover {
    color: var(--coral);
}

.footer__contact address {
    font-style: normal;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.footer__contact p {
    font-size: 15px;
    margin-bottom: 6px;
}

.footer__contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer__contact a:hover {
    color: var(--coral);
}

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

.footer__bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
}

/* ============================================
   Animations
   ============================================ */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .intro__grid,
    .neighborhood__grid,
    .contact__grid {
        gap: 48px;
    }
    
    .floorplans {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 85vw);
        height: 100vh;
        background: var(--warm-white);
        padding: 80px 32px 32px;
        box-shadow: var(--shadow-lg);
        transform: translateX(100%);
        transition: transform var(--transition);
        z-index: 1000;
    }
    
    .nav.open {
        transform: translateX(0);
    }
    
    .nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }
    
    .nav__link {
        padding: 14px 16px;
        border-radius: var(--radius-md);
        font-size: 16px;
    }
    
    .nav__link--cta {
        margin-left: 0;
        text-align: center;
        margin-top: 12px;
    }
    
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 999;
    }
    
    .nav-overlay.active {
        display: block;
    }
    
    .hero__content {
        padding: 100px 0 60px;
    }
    
    .hero__title {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }
    
    .intro__grid,
    .neighborhood__grid,
    .contact__grid {
        grid-template-columns: 1fr;
    }
    
    .intro__images {
        order: -1;
    }
    
    .intro__img-accent {
        right: 0;
    }
    
    .intro__badge {
        left: 0;
    }
    
    .floorplans {
        grid-template-columns: 1fr;
    }
    
    .amenities-grid {
        grid-template-columns: 1fr;
    }
    
    .neighborhood__image img {
        height: 360px;
    }
    
    .poi-grid {
        grid-template-columns: 1fr;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact__form-wrap {
        padding: 28px;
    }
    
    .hero__scroll {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .intro,
    .apartments,
    .amenities,
    .neighborhood,
    .contact {
        padding: 64px 0;
    }
    
    .hero__actions {
        flex-direction: column;
    }
    
    .hero__actions .btn {
        justify-content: center;
    }
    
    .cta-strip__actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-strip__actions .btn {
        width: 100%;
        justify-content: center;
    }
}
