/* === Eastport Emerald Escape — Main Stylesheet === */

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

:root {
    --emerald: #2E7D32;
    --emerald-dark: #1B5E20;
    --emerald-light: #4CAF50;
    --gold: #F9A825;
    --gold-dark: #F57F17;
    --text: #333333;
    --text-light: #666666;
    --bg: #FAFAFA;
    --bg-alt: #F0F0F0;
    --white: #FFFFFF;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 16px rgba(0,0,0,0.15);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: 0.3s ease;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.3; }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }

a { color: var(--emerald); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--emerald-dark); }

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

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--emerald);
    color: var(--white);
}
.btn-primary:hover { background: var(--emerald-dark); color: var(--white); transform: translateY(-1px); }

.btn-hero {
    background: var(--gold);
    color: #1a1a1a;
    font-size: 1.1rem;
    padding: 16px 40px;
}
.btn-hero:hover { background: var(--gold-dark); color: #1a1a1a; transform: translateY(-2px); box-shadow: var(--shadow-hover); }

.btn-outline {
    background: transparent;
    color: var(--emerald);
    border: 2px solid var(--emerald);
    padding: 12px 30px;
}
.btn-outline:hover { background: var(--emerald); color: var(--white); }

.btn-full { width: 100%; }

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all var(--transition);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--emerald-dark);
}
.nav-brand:hover { color: var(--emerald); }
.brand-icon { color: var(--emerald); font-size: 1.4rem; }

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}
.nav-links a:hover { color: var(--emerald); }
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--emerald);
    transition: width var(--transition);
}
.nav-links a:hover::after { width: 100%; }

.nav-cta {
    background: var(--emerald);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: var(--radius);
}
.nav-cta:hover { background: var(--emerald-dark); }
.nav-cta::after { display: none !important; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    transition: var(--transition);
}

/* --- Sections --- */
.section { padding: 80px 0; }
.section-light { background: var(--white); }
.section-green { background: var(--emerald); color: var(--white); }
.section-cta {
    background: linear-gradient(135deg, var(--emerald-dark), var(--emerald));
    color: var(--white);
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 15px;
    color: var(--text);
}
.section-title.light { color: var(--white); }
.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

/* --- Page Header --- */
.page-header {
    background: linear-gradient(135deg, var(--emerald-dark), var(--emerald));
    color: var(--white);
    padding: 120px 0 50px;
    text-align: center;
}
.page-header h1 { color: var(--white); margin-bottom: 10px; }
.page-header p { color: rgba(255,255,255,0.8); font-size: 1.1rem; }

/* --- Benefits Grid --- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.benefit-icon { font-size: 2.5rem; margin-bottom: 15px; }
.benefit-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.benefit-card p { color: var(--text-light); font-size: 0.95rem; }

/* --- Highlights --- */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    max-width: 700px;
    margin: 0 auto;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    padding: 10px 0;
}
.highlight-check {
    color: var(--gold);
    font-size: 1.3rem;
    font-weight: bold;
}

/* --- Photo Preview --- */
.photo-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
.preview-photo {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
}
.preview-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}
.preview-photo:hover img { transform: scale(1.05); }
.photo-loading { grid-column: 1/-1; text-align: center; color: var(--text-light); padding: 40px; }

/* --- Amenities --- */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.amenity-category {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow);
}
.amenity-category h3 {
    color: var(--emerald);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--emerald-light);
}
.amenity-category ul { list-style: none; }
.amenity-category li {
    padding: 6px 0;
    color: var(--text);
    font-size: 0.95rem;
}
.amenity-category li::before {
    content: '\2713';
    color: var(--emerald);
    font-weight: bold;
    margin-right: 8px;
}

/* --- Info Cards --- */
.property-info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.info-card {
    text-align: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow);
}
.info-card h3 { color: var(--emerald); margin-bottom: 5px; }
.info-value { font-size: 1.5rem; font-weight: 700; color: var(--text); margin: 5px 0; }
.info-card p { color: var(--text-light); font-size: 0.9rem; }

/* --- Legal Content --- */
.legal-content { max-width: 700px; margin: 0 auto; }
.legal-content h2 { margin: 30px 0 15px; font-size: 1.5rem; color: var(--emerald-dark); }
.legal-content p, .legal-content li { color: var(--text); margin-bottom: 10px; }
.legal-content ul { padding-left: 20px; }
.policy-tier {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    margin: 15px 0;
    box-shadow: var(--shadow);
}

/* --- Footer --- */
.site-footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 50px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}
.footer-col h4 { color: var(--white); margin-bottom: 15px; font-size: 1rem; }
.footer-col p { font-size: 0.9rem; line-height: 1.6; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #ccc; font-size: 0.9rem; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #888;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    .section { padding: 50px 0; }
    .page-header { padding: 100px 0 40px; }

    .nav-toggle { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: var(--shadow);
    }
    .nav-links.active { display: flex; }

    .photo-preview { grid-template-columns: repeat(2, 1fr); }
    .property-info-cards { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .photo-preview { grid-template-columns: 1fr; }
    .btn-hero { padding: 14px 30px; font-size: 1rem; }
}
