/* ==========================================================================
   Oyster Harbor Village - Matching Original GoDaddy Site Exactly
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&family=Great+Vibes&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

a {
    color: #1e73be;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: #333;
}

/* Cursive font class */
.cursive {
    font-family: 'Great Vibes', cursive;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: 'Great Vibes', cursive;
    font-size: 1.5rem;
    font-weight: 400;
    color: #333;
}

.logo:hover {
    text-decoration: none;
    color: #1e73be;
}

.nav-desktop {
    display: none;
}

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

.nav-desktop a {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 0;
}

.nav-desktop a:hover {
    color: #1e73be;
    text-decoration: none;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 160px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition: all 0.2s ease;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid #eee;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 18px;
    font-size: 13px;
    text-transform: none;
}

.dropdown-menu a:hover {
    background: #f5f5f5;
}

.phone-link {
    display: none;
    font-weight: 600;
    color: #1e73be;
    font-size: 14px;
}

.phone-link:hover {
    text-decoration: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
}

/* Mobile Navigation */
.nav-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #333;
    z-index: 2000;
    padding: 60px 20px 20px;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.nav-mobile.active {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}

.nav-mobile ul {
    list-style: none;
}

.nav-mobile li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-mobile a {
    display: block;
    padding: 12px 0;
    color: #fff;
    font-size: 15px;
}

.nav-mobile a:hover {
    color: #1e73be;
    text-decoration: none;
}

.mobile-phone {
    display: block;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #1e73be;
    font-size: 16px;
    font-weight: 600;
}

/* Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   Hero Section - Full Width Image (not background)
   ========================================================================== */
.hero {
    margin-top: 60px;
}

.hero-image {
    width: 100%;
    display: block;
}

.hero-caption {
    background: #1e3a5f;
    padding: 40px 20px;
    text-align: center;
}

.hero-caption h1 {
    font-size: 1.3rem;
    color: #fff;
    font-weight: 400;
    margin-bottom: 25px;
    line-height: 1.6;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #fff;
    color: #333;
    text-decoration: none;
}

.btn-dark {
    border-color: #1e73be;
    color: #1e73be;
}

.btn-dark:hover {
    background: #1e73be;
    color: #fff;
}

/* ==========================================================================
   Blue Background Section with Intro
   ========================================================================== */
.intro-section {
    position: relative;
    text-align: center;
    padding: 60px 20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.intro-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
}

.intro-section .container {
    position: relative;
    z-index: 10;
}

.intro-image {
    max-width: 350px;
    margin: 0 auto 30px;
}

.intro-section h1 {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 400;
}

.intro-section p {
    color: #555;
    font-size: 1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 10px;
}

.intro-section p.cursive-text {
    font-family: 'Great Vibes', cursive;
    font-size: 1.4rem;
    color: #333;
}

/* ==========================================================================
   Page Hero (Inner Pages) - Blue with cursive text
   ========================================================================== */
.page-hero {
    margin-top: 60px;
    padding: 60px 20px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    text-align: center;
}

.page-hero h1 {
    font-family: 'Great Vibes', cursive;
    color: #fff;
    font-size: 3rem;
    font-weight: 400;
}

/* ==========================================================================
   Content Sections
   ========================================================================== */
.content-section {
    padding: 60px 20px;
}

.content-section.alt-bg {
    background: #f7f7f7;
}

.content-section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
}

.content-section p {
    margin-bottom: 15px;
    color: #666;
    line-height: 1.8;
}

.two-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.column-text .btn {
    margin-top: 20px;
}

.column-image img {
    width: 100%;
}

/* ==========================================================================
   Gallery Grid
   ========================================================================== */
.gallery-section {
    padding: 60px 20px;
    background: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-item {
    text-align: center;
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin-bottom: 12px;
}

.gallery-item p {
    font-size: 14px;
    color: #666;
}

/* Phase Gallery */
.phase-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.phase-gallery-item {
    text-align: center;
}

.phase-gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
}

.phase-gallery-item p {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

/* ==========================================================================
   Phase Pages - Two Column Layout
   ========================================================================== */
.phase-intro {
    padding: 50px 20px;
    background: #fff;
}

.phase-intro-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.phase-intro-text {
    order: 1;
}

.phase-intro-image {
    order: 2;
}

.phase-intro-text h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 2rem;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 400;
}

.phase-intro-text h3 {
    font-size: 1.1rem;
    color: #8b0000;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.phase-intro-text p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.8;
}

.phase-intro-text p em {
    font-style: italic;
}

.phase-intro-image img {
    width: 100%;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.2);
    transform: rotate(2deg);
}

/* Phase Section - Image Left, Text Right */
.phase-section {
    padding: 50px 20px;
    background: #f5f5f5;
}

.phase-section:nth-child(even) {
    background: #fff;
}

.phase-row {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.phase-row-image {
    flex: 1;
}

.phase-row-image img {
    width: 100%;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.15);
}

.phase-row-text {
    flex: 1;
}

.phase-row-text h2 {
    font-family: 'Times New Roman', Georgia, serif;
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #333;
    font-weight: 400;
    font-style: italic;
}

.phase-row-text p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.8;
}

/* Phase Content (for gallery section) */
.phase-content {
    padding: 50px 20px;
}

.phase-content h2 {
    font-size: 1.5rem;
    margin: 40px 0 20px;
    color: #333;
}

.phase-content h2:first-of-type {
    margin-top: 0;
}

.phase-content h3 {
    font-size: 1.1rem;
    color: #1e73be;
    margin: 25px 0 15px;
}

.phase-content p {
    margin-bottom: 15px;
    color: #666;
    line-height: 1.8;
}

.phase-image {
    margin: 30px 0;
    text-align: center;
}

.phase-image img {
    max-width: 100%;
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.plan-item {
    text-align: center;
}

.plan-item img {
    width: 100%;
    margin-bottom: 10px;
    cursor: pointer;
}

.plan-item h4 {
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

/* ==========================================================================
   About Page
   ========================================================================== */
.about-section {
    padding: 50px 20px;
}

.about-section h2 {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 40px;
    line-height: 1.5;
}

.pdf-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.pdf-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f7f7f7;
    border-radius: 4px;
    transition: background 0.2s;
}

.pdf-link:hover {
    background: #eee;
    text-decoration: none;
}

.pdf-icon {
    width: 45px;
    height: 45px;
    background: #e74c3c;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #fff;
    font-size: 12px;
}

.pdf-link span {
    color: #666;
}

/* ==========================================================================
   Contact Page
   ========================================================================== */
.contact-section {
    padding: 50px 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info h2,
.contact-form h2 {
    font-size: 1.4rem;
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: #1e73be;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    flex-shrink: 0;
}

.contact-item p,
.contact-item a {
    color: #666;
    line-height: 1.6;
}

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

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-family: inherit;
    font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e73be;
}

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

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: #333;
    color: #fff;
    padding: 50px 20px 25px;
}

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

.footer-logo {
    font-family: 'Great Vibes', cursive;
    font-size: 1.6rem;
    color: #fff;
    font-weight: 400;
}

.footer-logo:hover {
    color: #1e73be;
    text-decoration: none;
}

.footer-contact p {
    margin-bottom: 8px;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact a {
    color: rgba(255,255,255,0.8);
}

.footer-contact a:hover {
    color: #fff;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.footer-nav a {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

.footer-nav a:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
}

/* ==========================================================================
   Scroll to Top
   ========================================================================== */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #1e73be;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: #155a96;
}

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 768px) {
    .header-container {
        padding: 15px 30px;
    }
    
    .nav-desktop {
        display: block;
    }
    
    .phone-link {
        display: block;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .hero-caption h1 {
        font-size: 1.8rem;
    }
    
    .page-hero {
        padding: 80px 20px;
    }
    
    .page-hero h1 {
        font-size: 4rem;
    }
    
    .intro-section h1 {
        font-size: 3rem;
    }
    
    .intro-section p.cursive-text {
        font-size: 1.6rem;
    }
    
    .two-column {
        flex-direction: row;
        align-items: center;
        gap: 50px;
    }
    
    .two-column.reverse {
        flex-direction: row-reverse;
    }
    
    .column-text,
    .column-image {
        flex: 1;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
    }
    
    /* Phase page two-column layout */
    .phase-intro-grid {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .phase-intro-text {
        order: 1;
        flex: 1;
    }
    
    .phase-intro-image {
        order: 2;
        flex: 1;
    }
    
    .phase-row {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .phase-row-image {
        flex: 1;
    }
    
    .phase-row-text {
        flex: 1;
    }
}

@media (min-width: 1024px) {
    .hero-caption h1 {
        font-size: 2rem;
    }
    
    .content-section {
        padding: 80px 20px;
    }
}
