/* WaterMark Coastal Homes - Complete Updated Styles */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'halyard-text', 'Georgia', 'Times New Roman', serif;
    background-color: #112739;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    padding-right: 0;
    width: 100vw;
    max-width: 100%;
    position: relative;
}

/* Prevent body shift when menu opens */
body.menu-open {
    overflow: hidden;
    padding-right: 0;
}

/* Utility Classes */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-full {
    width: 100%;
    padding: 0;
}

/* Typography */
.text-display {
    font-family: 'haboro-contrast-normal', 'Georgia', serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.text-h1 {
    font-family: 'haboro-contrast-normal', 'Georgia', serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 300;
    line-height: 1.2;
}

.text-h2 {
    font-family: 'haboro-contrast-normal', 'Georgia', serif;
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.text-h3 {
    font-family: 'haboro-contrast-normal', 'Georgia', serif;
    font-size: clamp(1.25rem, 2.5vw, 2rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.text-h5 {
    font-family: 'haboro-contrast-normal', 'Georgia', serif;
    font-size: 1.25rem;
    font-weight: 300;
    color: #d9c7bd;
}

.text-large {
    font-family: 'halyard-text', 'Georgia', serif;
    font-size: 1.125rem;
    line-height: 1.7;
}

.text-small {
    font-family: 'halyard-text', 'Georgia', serif;
    font-size: 0.875rem;
}

/* Phone icon button - positioned on left */
.phone-icon-btn {
    position: fixed;
    top: 20px;
    left: 40px;
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #ffffff;
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    z-index: 1002;
    transition: all 0.3s ease;
    text-decoration: none;
    backdrop-filter: blur(4px);
}

.phone-icon-btn:hover {
    border-color: #d9c7bd;
    color: #d9c7bd;
    background: rgba(217, 199, 189, 0.15);
}

.phone-icon-btn svg {
    width: 20px;
    height: 20px;
}

/* Hide phone icon on desktop sticky nav */
.nav.scrolled .phone-icon-btn {
    display: none !important;
}

/* CRITICAL: Show phone icon on sticky nav without circle */
.nav.scrolled .phone-icon-btn,
body .nav.scrolled .phone-icon-btn,
html body .nav.scrolled .phone-icon-btn,
.nav.scrolled a.phone-icon-btn {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Navigation */
.nav {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px 0;
}

.nav.scrolled {
    position: fixed;
    background: #0a1f2e;
    backdrop-filter: none;
    border-bottom: none;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav.scrolled .nav-container {
    display: none;
}

.nav.scrolled .desktop-nav-sticky {
    display: flex;
}

.nav.scrolled .nav-logo-img {
    filter: none;
}

.nav.scrolled .mobile-menu-btn .hamburger-line {
    background: #ffffff;
    background-color: #ffffff;
}

.nav.scrolled .mobile-menu-btn.active .hamburger-line {
    background: #ffffff;
    background-color: #ffffff;
}

.nav-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0;
    margin: 0;
    max-width: 100%;
}

/* Logo moved to the left */
.nav-logo {
    display: flex;
    align-items: center;
    padding-left: 0;
    margin-left: 10px;
    margin-top: 0px;
    position: relative;
    z-index: 1003;
    transition: opacity 0.3s ease;
}

/* Logo visible on top of menu */
body.menu-open .nav-logo {
    position: fixed;
    top: 20px;
    left: 10px;
    z-index: 1003;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.nav-logo-img {
    height: 180px;
    width: auto;
    max-width: none;
    transition: all 0.3s ease;
}

/* Desktop Sticky Navigation */
.desktop-nav-sticky {
    display: none;
    width: 100%;
    padding: 20px 0;
}

.desktop-nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 60px;
}

.desktop-nav-left,
.desktop-nav-right {
    display: flex;
    gap: 50px;
    align-items: center;
}

.desktop-nav-left {
    justify-content: flex-end;
}

.desktop-nav-right {
    justify-content: flex-start;
}

.desktop-nav-link {
    font-family: 'halyard-text', 'Georgia', serif;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.938rem;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap;
}

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

.desktop-nav-link:hover,
.desktop-nav-link:focus {
    color: #d9c7bd;
}

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

.desktop-nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.95;
    transition: opacity 0.3s ease;
}

.desktop-nav-logo:hover {
    opacity: 1;
}

.desktop-nav-logo-img {
    height: 50px;
    width: auto;
}

/* Hamburger menu with MENU text */
.mobile-menu-btn {
    position: fixed;
    top: 20px;
    right: 5vw;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1002;
    -webkit-tap-highlight-color: transparent;
    transition: top 0.3s ease, transform 0.3s ease;
    max-width: 60px;
    margin-right: 0;
}

.mobile-menu-btn .hamburger-line {
    width: 50px;
    height: 1.5px;
    background: #ffffff;
    background-color: #ffffff;
    transition: all 0.4s ease;
    transform-origin: center;
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* MENU text below hamburger lines */
.mobile-menu-btn .menu-text {
    font-family: 'halyard-text', 'Georgia', serif;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: #ffffff;
    font-weight: 500;
    margin-top: 4px;
    width: 50px;
    text-align: center;
    transition: all 0.4s ease;
    display: block;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(30deg) translateY(3.75px);
    background: #ffffff;
    background-color: #ffffff;
    border: none;
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    transform: rotate(-30deg) translateY(-3.75px);
    background: #ffffff;
    background-color: #ffffff;
    border: none;
}

.mobile-menu-btn.active .menu-text {
    opacity: 0;
}

/* Full screen menu overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(17, 39, 57, 0.95);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    animation: menuOpen 0.5s ease-in-out forwards;
}

.mobile-menu-overlay.closing {
    animation: menuClose 0.4s ease-in-out forwards;
}

/* Menu links - centered */
.nav-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 1200px;
    width: 95%;
    text-align: center;
}

/* Nav link stagger animation */
.nav-link {
    font-family: 'haboro-contrast-normal', 'Georgia', serif;
    color: #ffffff;
    text-decoration: none;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    transition: color 0.3s ease;
    letter-spacing: 0.02em;
    opacity: 0;
    transform: translateX(30px);
}

/* Trigger animation when menu is open */
body.menu-open .nav-link {
    animation: navLinkFadeIn 0.7s ease-out forwards;
}

/* Staggered animation delays for elegant sequential appearance */
body.menu-open .nav-link:nth-child(1) { animation-delay: 0.15s; }
body.menu-open .nav-link:nth-child(2) { animation-delay: 0.25s; }
body.menu-open .nav-link:nth-child(3) { animation-delay: 0.35s; }
body.menu-open .nav-link:nth-child(4) { animation-delay: 0.45s; }
body.menu-open .nav-link:nth-child(5) { animation-delay: 0.55s; }
body.menu-open .nav-link:nth-child(6) { animation-delay: 0.65s; }
body.menu-open .nav-link:nth-child(7) { animation-delay: 0.75s; }
body.menu-open .nav-link:nth-child(8) { animation-delay: 0.85s; }

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

/* Mobile-specific animation: fade up from bottom */
@media (max-width: 968px) {
    .nav-link {
        transform: translateY(20px);
    }
    
    body.menu-open .nav-link {
        animation: navLinkFadeInMobile 0.6s ease-out forwards;
    }
    
    /* Faster stagger for mobile */
    body.menu-open .nav-link:nth-child(1) { animation-delay: 0.1s; }
    body.menu-open .nav-link:nth-child(2) { animation-delay: 0.15s; }
    body.menu-open .nav-link:nth-child(3) { animation-delay: 0.2s; }
    body.menu-open .nav-link:nth-child(4) { animation-delay: 0.25s; }
    body.menu-open .nav-link:nth-child(5) { animation-delay: 0.3s; }
    body.menu-open .nav-link:nth-child(6) { animation-delay: 0.35s; }
    body.menu-open .nav-link:nth-child(7) { animation-delay: 0.4s; }
    body.menu-open .nav-link:nth-child(8) { animation-delay: 0.45s; }
    
    @keyframes navLinkFadeInMobile {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

.nav-link:hover,
.nav-link:focus {
    color: #d9c7bd;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
    padding: 0 40px 60px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroImageFadeIn 1.5s ease-out forwards, kenburns 18s ease-in-out 1.5s infinite alternate;
    opacity: 0;
}

@keyframes heroImageFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes kenburns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.15);
    }
}

.hero-shade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(17, 39, 57, 0.4) 0%, rgba(17, 39, 57, 0.2) 100%);
    z-index: -1;
}

/* Hero title centered */
.hero-title {
    text-align: center;
    max-width: 1100px;
    margin-bottom: 60px;
}

/* Show desktop hero lines by default, hide mobile */
.hero-line-mobile {
    display: none !important;
}

.hero-line-desktop {
    display: block;
}

/* Hero down arrow - centered, larger, and blue hover */
.hero-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border: 1px solid #ffffff;
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    animation: fadeInUp 1.2s ease-out 2s forwards, floatSmooth 3s ease-in-out 3.2s infinite;
    text-decoration: none;
    backdrop-filter: blur(4px);
    background: rgba(255, 255, 255, 0.05);
}

.hero-arrow:hover {
    border-color: #0a1f2e;
    color: #0a1f2e;
    background: rgba(10, 31, 46, 0.15);
    transform: translateY(6px);
}

.hero-arrow svg {
    width: 28px;
    height: 28px;
}

@keyframes floatSmooth {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* Hero line animation */
.hero-line {
    display: block;
    opacity: 0;
    transform: translateX(100px);
    animation: slideInRight 2.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-line[data-delay="0"] {
    animation-delay: 1s;
}

.hero-line[data-delay="0.15"] {
    animation-delay: 1.25s;
}

.hero-line[data-delay="0.3"] {
    animation-delay: 1.5s;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes menuOpen {
    0% {
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }
    100% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}

@keyframes menuClose {
    0% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    100% {
        clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
    }
}

/* Welcome Section */
.welcome {
    padding: 140px 0 0;
    background: linear-gradient(180deg, #0a1f2e 0%, #112739 100%);
}

.welcome-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

.welcome-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 100px;
}

.welcome-label {
    color: #d9c7bd;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.welcome-headline {
    color: #ffffff;
    margin-bottom: 0;
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 80px;
}

.welcome-visual-primary {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.welcome-visual-primary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.welcome-visual-primary:hover img {
    transform: scale(1.05);
}

.welcome-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.welcome-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(217, 199, 189, 0.2);
}

.stat-item {
    text-align: left;
}

.stat-number {
    color: #d9c7bd;
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.welcome-description {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    font-size: 1rem;
}

.welcome-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.feature-icon {
    width: 28px;
    height: 28px;
    color: #d9c7bd;
    flex-shrink: 0;
    margin-top: 4px;
}

.feature-text {
    flex: 1;
}

.feature-title {
    font-family: 'haboro-contrast-normal', 'Georgia', serif;
    font-size: 1.5rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.feature-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.6;
}

.welcome-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.welcome-cta .btn {
    min-width: 220px;
}

/* Primary button - solid and stands out */
.btn-primary {
    background: #d9c7bd;
    color: #112739;
    border: 1px solid #d9c7bd;
    font-weight: 500;
}

.btn-primary:hover {
    background: #c4b5a8;
    border-color: #c4b5a8;
    color: #112739;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(217, 199, 189, 0.3);
}

/* Button Styles */
.btn {
    font-family: 'halyard-text', 'Georgia', serif;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    background: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.3s ease;
    cursor: pointer;
    justify-content: center;
}

.btn:hover,
.btn:focus {
    background: #ffffff;
    color: #112739;
    border-color: #ffffff;
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover,
.btn-outline:focus {
    background: #ffffff;
    color: #112739;
    border-color: #ffffff;
}

.btn-large {
    font-size: 1.125rem;
    padding: 14px 28px;
}

.btn svg {
    width: 20px;
    height: 12px;
}

/* Featured Projects */
.featured {
    position: relative;
    padding: 20px 0 40px;
    background: #112739;
}

.featured-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
    padding: 0 40px;
}

.featured-label {
    color: #d9c7bd;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.featured-headline {
    color: #ffffff;
    margin-bottom: 0;
}

.featured-item {
    position: relative;
    height: 85vh;
    min-height: 600px;
    max-height: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 0;
}

.featured-bg {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: 1;
    will-change: transform;
}

.featured-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transition: filter 0.6s ease, transform 0.6s ease;
}

.featured-item:hover .featured-bg img {
    filter: brightness(0.5);
    transform: scale(1.05);
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(17, 39, 57, 0.8) 0%, transparent 60%);
    z-index: 2;
}

.featured-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: 0 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.2s forwards;
}

.featured-title {
    color: #ffffff;
    margin-bottom: 2rem;
    text-transform: none;
    letter-spacing: 0.05em;
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 1.2;
}

.featured-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #d9c7bd;
    text-decoration: none;
    font-family: 'halyard-text', 'Georgia', serif;
    font-size: 1.125rem;
    letter-spacing: 0.05em;
    padding: 0.75rem 0;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.featured-link:hover {
    border-bottom-color: #d9c7bd;
    gap: 1rem;
}

.featured-link svg {
    width: 24px;
    height: 14px;
    transition: transform 0.3s ease;
}

.featured-link:hover svg {
    transform: translateX(4px);
}

.featured-footer {
    position: relative;
    text-align: center;
    padding: 40px 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Removed backdrop-filter blur */
.featured-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #112739;
    z-index: -1;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #0a1f2e 0%, #081621 100%);
    border-top: 1px solid rgba(217, 199, 189, 0.15);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(217, 199, 189, 0.3) 50%, transparent 100%);
}

.footer-cta {
    text-align: center;
    padding: 100px 40px 80px;
    max-width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.cta-label {
    margin-bottom: 0;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #d9c7bd;
    font-weight: 500;
}

.cta-link {
    font-family: 'haboro-contrast-normal', 'Georgia', serif;
    color: #ffffff;
    text-decoration: none;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px 0;
    position: relative;
    letter-spacing: 0.02em;
}

.cta-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 1px;
    background: #d9c7bd;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-link:hover::before {
    width: 400px;
}

.cta-link:hover,
.cta-link:focus {
    color: #d9c7bd;
    letter-spacing: 0.04em;
}

.cta-arrow {
    width: 40px;
    height: 24px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.8;
}

.cta-link:hover .cta-arrow {
    transform: translateX(10px);
    opacity: 1;
}

.footer-bottom {
    padding: 60px 40px 40px;
    border-top: 1px solid rgba(217, 199, 189, 0.1);
    background: rgba(8, 22, 33, 0.5);
}

/* Footer with aligned columns */
.footer-container {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 60px;
    align-items: start;
}

/* Left side - Contact info */
.footer-company {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.footer-contact {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.938rem;
    line-height: 1.8;
}

.footer-contact p {
    margin: 1.0rem 0;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    position: relative;
    line-height: 1.4;
}

.footer-contact a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #d9c7bd;
    transition: width 0.3s ease;
}

.footer-contact a:hover::after,
.footer-contact a:focus::after {
    width: 100%;
}

.footer-contact a:hover,
.footer-contact a:focus {
    color: #d9c7bd;
}

/* Center - Logo and Social */
.footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    opacity: 0.95;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
}

/* Logo 50% larger */
.footer-logo-img {
    height: 210px;
    width: auto;
    max-width: 500px;
}

.social-list {
    display: flex;
    gap: 2rem;
}

.social-link {
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(217, 199, 189, 0.2);
    background: rgba(217, 199, 189, 0.05);
}

.social-link:hover,
.social-link:focus {
    color: #d9c7bd;
    border-color: rgba(217, 199, 189, 0.4);
    background: rgba(217, 199, 189, 0.1);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-fine {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.813rem;
    letter-spacing: 0.05em;
    text-align: center;
}

/* Right side - Navigation */
.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-end;
}

/* Updated footer nav links to match left side styling */
.footer-nav-link {
    font-family: 'halyard-text', 'Georgia', serif;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.938rem;
    font-weight: 400;
    transition: all 0.3s ease;
    letter-spacing: normal;
    position: relative;
    padding-right: 0;
}

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

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

.footer-nav-link:hover,
.footer-nav-link:focus {
    color: #d9c7bd;
}

/* Animations */
.fade-in-observer {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

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

/* Mobile Styles */
@media (max-width: 768px) {
    /* Hide desktop sticky nav on mobile */
    .desktop-nav-sticky {
        display: none !important;
    }
    
    .nav.scrolled .nav-container {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }
    
    .nav.scrolled {
        position: fixed;
        background: #0a1f2e;
        padding: 12px 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        z-index: 1000;
    }
    
    /* Show horizontal sticky logo on mobile when scrolled */
    .nav.scrolled .nav-logo {
        opacity: 1;
        pointer-events: auto;
        position: relative;
        left: 0;
        transform: none;
        top: 0;
    }
    
    .nav.scrolled .nav-logo-img {
        content: url('https://watermarkhomesllc.com/newsite/images/Watermark-Logo-StickyNav.png');
        height: 28px;
        width: auto;
    }
    
    /* Hide MENU text when scrolled */
    .nav.scrolled .menu-text {
        display: none;
    }
    
    /* Ensure mobile menu button stays visible and on top */
    .nav.scrolled .mobile-menu-btn {
        position: fixed;
        z-index: 1100;
        display: flex;
    }
    
    /* Show phone icon on mobile */
    .phone-icon-btn {
        display: flex;
        top: 30px;
    }
    
    /* Show phone icon on sticky nav WITHOUT circle - just the icon - UPDATED POSITION */
    .nav.scrolled .phone-icon-btn,
    nav.nav.scrolled .phone-icon-btn {
        display: flex !important;
        top: 14px !important;
        left: 30px !important;
        background: transparent !important;
        border: none !important;
        width: auto !important;
        height: auto !important;
        backdrop-filter: none !important;
        padding: 4px !important;
        border-radius: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        z-index: 1100 !important;
        position: fixed !important;
    }
    
    .nav.scrolled .phone-icon-btn:hover {
        background: transparent !important;
        border: none !important;
        color: #d9c7bd;
    }
    
    /* Hide logo on mobile - only show at top */
    .nav-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin-left: 0;
        margin-top: 0;
        padding-left: 0;
        z-index: 1003;
        top: 30px;
        transition: opacity 0.3s ease;
    }
    
    /* Show logo when scrolling on mobile with horizontal logo */
    .nav.scrolled .nav-logo {
        opacity: 1;
        pointer-events: auto;
    }
    
    /* ALWAYS show logo when menu is open - override scrolled state - MOVED DOWN 10PX */
    body.menu-open .nav-logo {
        position: fixed;
        top: 40px !important;
        left: 50%;
        transform: translateX(-50%);
        padding-left: 0;
        z-index: 1003;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    
    /* Show vertical logo when menu is open */
    body.menu-open .nav-logo-img {
        content: url('https://www.watermarkhomesllc.com/newsite/images/watermark-logo-footer.svg') !important;
        height: 120px !important;
    }
    
    /* Align hamburger menu button */
    .mobile-menu-btn {
        top: 30px;
    }
    
    /* Adjust hamburger position when nav is scrolled/sticky - moved down more */
    .nav.scrolled .mobile-menu-btn {
        top: 19px;
        transform: none;
        padding: 4px;
        z-index: 1100;
    }
    
    /* Ensure hamburger lines stay visible on sticky nav */
    .nav.scrolled .mobile-menu-btn .hamburger-line {
        background: #ffffff;
        background-color: #ffffff;
        opacity: 1;
    }
    
    /* Adjust mobile menu to accommodate centered logo */
    .mobile-menu-overlay nav {
        padding-top: 100px;
    }
    
    /* Adjust nav menu spacing */
    .nav-menu {
        gap: 0.5rem;
    }
    
    .nav-link {
        font-size: clamp(1.75rem, 4vw, 3rem);
    }
    
    .nav-logo-img {
        height: 120px;
        width: auto;
    }
    
    /* Mobile hero content breaks */
    .hero-line-desktop {
        display: none !important;
    }
    
    .hero-line-mobile {
        display: block !important;
    }
    
    .hero {
        padding: 0 40px 80px;
    }
    
    .hero-title {
        margin-bottom: 40px;
    }
    
    .hero-arrow {
        width: 56px;
        height: 56px;
        margin-bottom: 40px;
    }
    
    .hero-arrow svg {
        width: 24px;
        height: 24px;
    }
    
    .welcome {
        padding: 80px 0 0;
    }
    
    .welcome-container {
        padding: 0 24px;
    }
    
    .welcome-intro {
        margin-bottom: 60px;
    }
    
    .welcome-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        margin-bottom: 40px;
    }
    
    .welcome-stats {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .welcome-cta {
        flex-direction: column;
    }
    
    .welcome-cta .btn {
        width: 100%;
        justify-content: center;
    }
    
    .featured {
        padding: 20px 0 30px;
    }
    
    .featured-header {
        margin-bottom: 60px;
        padding: 0 24px;
    }
    
    .featured-item {
        height: 70vh;
        min-height: 500px;
    }
    
    .featured-content {
        padding: 0 24px;
    }
    
    .featured-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    
    .featured-footer {
        padding: 30px 24px 0;
    }
    
    .footer-cta {
        padding: 60px 24px 60px;
        gap: 1rem;
    }
    
    .footer-bottom {
        padding: 40px 24px 30px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Reorder columns: center (logo), left (contact), right (nav) */
    .footer-center {
        order: 1;
    }
    
    .footer-company {
        order: 2;
    }
    
    .footer-right {
        order: 3;
    }
    
    .footer-company,
    .footer-center,
    .footer-right {
        align-items: center;
        text-align: center;
    }
    
    .footer-menu {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem 0.75rem;
        align-items: start;
        width: 100%;
        max-width: 280px;
        padding: 0 20px 0 55px;
    }
    
    .footer-menu .footer-nav-link {
        text-align: left;
        font-size: 1.2rem;
    }
    
    .footer-menu .footer-nav-link::after {
        left: 0;
        transform: none;
    }
    
    .footer-logo-img {
        height: auto;
        width: 300px;
        max-width: 500px;
    }
}

/* Smaller mobile screens */
@media (max-width: 480px) {
    .phone-icon-btn {
        width: 40px;
        height: 40px;
        left: 30px;
        top: 28px;
    }
    
    /* Show phone icon on sticky nav WITHOUT circle - smaller screens - UPDATED POSITION */
    .nav.scrolled .phone-icon-btn,
    nav.nav.scrolled .phone-icon-btn {
        display: flex !important;
        top: 13px !important;
        left: 25px !important;
        background: transparent !important;
        border: none !important;
        width: auto !important;
        height: auto !important;
        backdrop-filter: none !important;
        padding: 4px !important;
        border-radius: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        z-index: 1100 !important;
        position: fixed !important;
    }
    
    .nav.scrolled .phone-icon-btn:hover {
        background: transparent !important;
        border: none !important;
        color: #d9c7bd;
    }
    
    .phone-icon-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .nav-logo-img {
        height: 100px;
    }
    
    .nav-logo {
        top: 28px;
    }
    
    /* MOVED DOWN 10PX for smaller screens too */
    body.menu-open .nav-logo {
        top: 38px !important;
    }
    
    .mobile-menu-btn {
        top: 28px;
        right: 5vw;
    }
    
    .nav.scrolled .mobile-menu-btn {
        top: 17px;
        transform: none;
        z-index: 1100;
    }
    
    .nav.scrolled .mobile-menu-btn .hamburger-line {
        background: #ffffff;
        background-color: #ffffff;
        opacity: 1;
    }
    
    .nav.scrolled .nav-logo-img {
        height: 24px;
    }
    
    .hero-title {
        margin-bottom: 30px;
    }
    
    .hero-arrow {
        width: 52px;
        height: 52px;
        margin-bottom: 40px;
    }
    
    .hero-arrow svg {
        width: 22px;
        height: 22px;
    }
}

@media (min-width: 1025px) {
    .welcome-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

a:focus,
button:focus {
    outline: 2px solid #d9c7bd;
    outline-offset: 2px;
}

.mobile-menu-btn:focus {
    outline: none;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .nav {
        background: #000000;
        border-bottom: 2px solid #ffffff;
    }
    
    .hero-shade {
        background: rgba(0, 0, 0, 0.8);
    }
    
    .featured-shade {
        background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    }
}

/* Print styles */
@media print {
    .nav,
    .mobile-menu-btn,
    .phone-icon-btn,
    .footer {
        display: none;
    }
    
    body {
        color: #000000;
        background: #ffffff;
    }
    
    .hero-title,
    .welcome-title,
    .featured-title {
        color: #000000;
    }
}