/* ═══════════════════════════════════════════
   Point Comfort Resort & Marina — Styles
   Palette: Midnight Blue + Mint + Warm Sand
   Fonts: Cormorant Garamond + Lato
   ═══════════════════════════════════════════ */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: #0F1F38;
    background-color: #faf8f5;
    -webkit-font-smoothing: antialiased;
}

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

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

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

.container--narrow {
    max-width: 900px;
}

/* ── Section Shared ── */
.section-label {
    display: inline-block;
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #2e9e6b;
    margin-bottom: 12px;
}

.section-label--light {
    color: #b5e6cf;
}

.section-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.2;
    color: #0A1628;
    margin-bottom: 20px;
}

.section-title--light {
    color: #f5f0e8;
}

.section-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #152B4D;
    max-width: 640px;
}

.section-desc--light {
    color: #d8f2e6;
    max-width: 560px;
}

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

/* ── Navigation ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(46, 158, 107, 0.15);
    transition: background 0.3s ease;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f5f0e8;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
}

.nav-brand-icon {
    width: 32px;
    height: 32px;
    color: #7ed1ab;
    flex-shrink: 0;
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
}

.nav-brand-sub {
    font-family: 'Lato', sans-serif;
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #b5e6cf;
}

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

.nav-link {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #d8f2e6;
    transition: color 0.25s ease;
    position: relative;
}

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

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

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

.nav-link--cta {
    background: rgba(46, 158, 107, 0.2);
    border: 1px solid rgba(46, 158, 107, 0.5);
    padding: 8px 20px;
    border-radius: 4px;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.nav-link--cta::after {
    display: none;
}

.nav-link--cta:hover {
    background: rgba(46, 158, 107, 0.35);
    border-color: #7ed1ab;
}

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

.nav-toggle-bar {
    width: 24px;
    height: 2px;
    background: #d8f2e6;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.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: translateY(-7px) rotate(-45deg);
}

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0A1628;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(4, 11, 20, 0.70) 0%,
        rgba(10, 22, 40, 0.65) 50%,
        rgba(10, 22, 40, 0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 780px;
    padding: 120px 24px 80px;
}

.hero-eyebrow {
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #7ed1ab;
    margin-bottom: 24px;
}

.hero-headline {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 600;
    line-height: 1.15;
    color: #f5f0e8;
    margin-bottom: 24px;
}

.hero-accent {
    color: #b5e6cf;
    font-style: italic;
}

.hero-sub {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #d8f2e6;
    max-width: 580px;
    margin: 0 auto 40px;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #b5e6cf;
    letter-spacing: 0.05em;
    transition: color 0.25s ease;
}

.hero-phone:hover {
    color: #f5f0e8;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: #7ed1ab;
    animation: heroScroll 2s ease-in-out infinite;
}

@keyframes heroScroll {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
    50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 4px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn--primary {
    background: #2e9e6b;
    color: #f5f0e8;
    border-color: #2e9e6b;
}

.btn--primary:hover {
    background: #1f7d52;
    border-color: #1f7d52;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(46, 158, 107, 0.3);
}

.btn--outline {
    background: transparent;
    color: #f5f0e8;
    border-color: rgba(181, 230, 207, 0.5);
}

.btn--outline:hover {
    background: rgba(181, 230, 207, 0.1);
    border-color: #b5e6cf;
    transform: translateY(-2px);
}

.btn--outline-dark {
    background: transparent;
    color: #0F1F38;
    border-color: rgba(15, 31, 56, 0.3);
}

.btn--outline-dark:hover {
    background: #0F1F38;
    color: #f5f0e8;
    border-color: #0F1F38;
    transform: translateY(-2px);
}

.btn--large {
    padding: 16px 40px;
    font-size: 0.85rem;
}

/* ── Intro ── */
.intro {
    padding: 120px 0;
    background: #faf8f5;
}

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

.intro-text p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #152B4D;
    margin-bottom: 20px;
}

.intro-image {
    position: relative;
}

.intro-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(10, 22, 40, 0.15);
}

.intro-image-accent {
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 120px;
    height: 120px;
    border: 2px solid #b5e6cf;
    border-radius: 6px;
    z-index: -1;
}

/* ── Lodging ── */
.lodging {
    padding: 120px 0;
    background: #f5f0e8;
}

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

.lodging-card {
    background: #faf8f5;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(10, 22, 40, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lodging-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(10, 22, 40, 0.15);
}

.lodging-card-img {
    overflow: hidden;
    height: 240px;
}

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

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

.lodging-card-body {
    padding: 28px;
}

.lodging-card-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #0A1628;
    margin-bottom: 12px;
}

.lodging-card-body p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #152B4D;
}

.lodging-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding-top: 48px;
    border-top: 1px solid rgba(15, 31, 56, 0.1);
}

.lodging-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #0F1F38;
}

.lodging-feature svg {
    color: #2e9e6b;
    flex-shrink: 0;
}

/* ── Marina ── */
.marina {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.marina-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.marina-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(4, 11, 20, 0.88) 0%,
        rgba(15, 31, 56, 0.82) 100%
    );
}

.marina > .container {
    position: relative;
    z-index: 1;
}

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

.marina-service {
    display: flex;
    gap: 20px;
    padding: 32px;
    background: rgba(250, 248, 245, 0.06);
    border: 1px solid rgba(181, 230, 207, 0.15);
    border-radius: 8px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.marina-service:hover {
    background: rgba(250, 248, 245, 0.1);
    border-color: rgba(181, 230, 207, 0.35);
}

.marina-service-icon {
    flex-shrink: 0;
    color: #7ed1ab;
}

.marina-service-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #f5f0e8;
    margin-bottom: 8px;
}

.marina-service p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #d8f2e6;
}

/* ── Location ── */
.location {
    padding: 120px 0;
    background: #faf8f5;
}

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

.location-info .section-label {
    text-align: left;
}

.location-info .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.location-address {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: #0F1F38;
    font-weight: 500;
    margin-bottom: 20px;
    padding: 16px 20px;
    background: #f5f0e8;
    border-radius: 6px;
    border-left: 3px solid #2e9e6b;
}

.location-address svg {
    color: #2e9e6b;
    flex-shrink: 0;
}

.location-info > p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #152B4D;
    margin-bottom: 28px;
}

.location-highlights {
    list-style: none;
    margin-bottom: 32px;
}

.location-highlights li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #0F1F38;
    padding: 10px 0;
    border-bottom: 1px solid rgba(15, 31, 56, 0.08);
}

.location-highlights li:last-child {
    border-bottom: none;
}

.location-highlights svg {
    color: #2e9e6b;
    flex-shrink: 0;
}

.location-map iframe {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(10, 22, 40, 0.12);
}

/* ── Gallery ── */
.gallery {
    padding: 120px 0;
    background: #f5f0e8;
}

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

.gallery-item {
    overflow: hidden;
    border-radius: 6px;
    aspect-ratio: 3 / 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* ── CTA ── */
.cta {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(4, 11, 20, 0.90) 0%,
        rgba(15, 31, 56, 0.85) 100%
    );
}

.cta > .container {
    position: relative;
    z-index: 1;
}

.cta-inner {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-inner .section-label {
    text-align: center;
}

.cta-inner .section-title {
    text-align: center;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #d8f2e6;
    margin-bottom: 40px;
}

.cta-phone {
    color: #7ed1ab;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(126, 209, 171, 0.4);
    text-underline-offset: 4px;
    transition: color 0.25s ease, text-decoration-color 0.25s ease;
}

.cta-phone:hover {
    color: #b5e6cf;
    text-decoration-color: #b5e6cf;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.cta-form input,
.cta-form textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    color: #f5f0e8;
    background: rgba(250, 248, 245, 0.08);
    border: 1px solid rgba(181, 230, 207, 0.25);
    border-radius: 4px;
    outline: none;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.cta-form input::placeholder,
.cta-form textarea::placeholder {
    color: rgba(216, 242, 230, 0.5);
}

.cta-form input:focus,
.cta-form textarea:focus {
    border-color: #7ed1ab;
    background: rgba(250, 248, 245, 0.12);
}

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

.cta-success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: rgba(46, 158, 107, 0.2);
    border: 1px solid rgba(46, 158, 107, 0.4);
    border-radius: 6px;
    color: #b5e6cf;
    font-size: 0.95rem;
    margin-top: 16px;
}

.cta-success svg {
    color: #7ed1ab;
    flex-shrink: 0;
}

/* ── Footer ── */
.footer {
    background: #040B14;
    padding: 64px 0 32px;
    color: #d8f2e6;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #f5f0e8;
    line-height: 1.3;
    margin-bottom: 16px;
}

.footer-logo svg {
    color: #7ed1ab;
    flex-shrink: 0;
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #7ed1ab;
    max-width: 280px;
}

.footer-heading {
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #7ed1ab;
    margin-bottom: 20px;
}

.footer-contact address {
    font-style: normal;
    font-size: 0.9rem;
    line-height: 1.8;
    color: #b5e6cf;
}

.footer-phone a {
    color: #7ed1ab;
    font-weight: 500;
    transition: color 0.25s ease;
}

.footer-phone a:hover {
    color: #f5f0e8;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: #b5e6cf;
    transition: color 0.25s ease;
}

.footer-links a:hover {
    color: #f5f0e8;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(181, 230, 207, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(181, 230, 207, 0.5);
}

/* ── Scroll Reveal ── */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal--delay {
    transition-delay: 0.15s;
}

.reveal--delay2 {
    transition-delay: 0.3s;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-hidden {
        opacity: 0;
        transform: translateY(24px);
    }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .lodging-grid,
    .marina-services {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(10, 22, 40, 0.97);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        transform: translateY(-120%);
        opacity: 0;
        transition: transform 0.35s ease, opacity 0.35s ease;
        pointer-events: none;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-toggle {
        display: flex;
    }

    .intro-inner,
    .location-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .intro-image {
        order: -1;
    }

    .intro-image-accent {
        display: none;
    }

    .lodging-grid,
    .marina-services {
        grid-template-columns: 1fr;
    }

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

    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }

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

    .cta-form-row {
        grid-template-columns: 1fr;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .intro,
    .lodging,
    .marina,
    .location,
    .gallery,
    .cta {
        padding: 80px 0;
    }
}

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

    .hero-cta {
        flex-direction: column;
        gap: 12px;
    }

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