/* 
    Eddy's Beach House - Main Stylesheet
    Theme: Deep Navy & Warm Gold
*/

:root {
    --color-navy: #0f172a;
    --color-navy-light: #1e293b;
    --color-gold: #fbbf24;
    --color-gold-dark: #d97706;
    --color-white: #ffffff;
    --color-off-white: #f8fafc;
    --color-text: #334155;
    --color-text-light: #94a3b8;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-off-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-navy);
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.text-gold {
    color: var(--color-gold-dark);
}

.section-tag {
    display: inline-block;
    background-color: rgba(251, 191, 36, 0.2);
    color: var(--color-gold-dark);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--color-text);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-navy);
}

.btn-primary:hover {
    background-color: var(--color-gold-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--color-navy);
    color: var(--color-navy);
}

.btn-secondary:hover {
    background-color: var(--color-navy);
    color: var(--color-white);
}

.btn-full {
    width: 100%;
}

/* Background Shapes */
.bg-shape {
    position: fixed;
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
}

.shape-1 {
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-gold) 0%, transparent 70%);
    border-radius: 50%;
}

.shape-2 {
    top: 40%;
    right: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #38bdf8 0%, transparent 70%);
    border-radius: 50%;
}

.shape-3 {
    bottom: 10%;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--color-gold) 0%, transparent 70%);
    border-radius: 50%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-white);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--color-white);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:not(.btn):hover {
    color: var(--color-gold);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-white);
    border-radius: 2px;
}

.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--color-navy);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-link {
    color: var(--color-white);
    font-size: 1.25rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 0.5rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background-color: var(--color-navy);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    color: var(--color-white);
    z-index: 1;
}

.badge {
    display: inline-block;
    background-color: rgba(251, 191, 36, 0.2);
    color: var(--color-gold);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    color: var(--color-white);
    font-size: 4rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

.hero-btns .btn-secondary {
    border-color: var(--color-white);
    color: var(--color-white);
}

.hero-btns .btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-navy);
}

.hero-visual {
    position: relative;
    height: 500px;
}

.visual-card {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.card-main {
    width: 350px;
    height: 450px;
    top: 0;
    right: 0;
    z-index: 2;
}

.card-accent {
    width: 250px;
    height: 200px;
    bottom: 20px;
    left: 0;
    z-index: 3;
    border: 4px solid var(--color-gold);
}

.wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.wave {
    width: 100%;
    height: 80px;
}

/* About Section */
.about {
    padding: 6rem 0;
    background-color: var(--color-off-white);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.25rem;
    color: var(--color-navy);
    margin-bottom: 1rem;
    font-weight: 500;
}

.feature-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.feature-list .icon {
    width: 24px;
    height: 24px;
    color: var(--color-gold-dark);
}

.about-image {
    position: relative;
}

.img-wrapper {
    position: relative;
}

.img-wrapper img {
    border-radius: 20px;
    width: 100%;
    height: 500px;
    object-fit: cover;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.gold-block {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 4px solid var(--color-gold);
    border-radius: 20px;
    z-index: -1;
}

/* Rooms Section */
.rooms {
    padding: 6rem 0;
    background-color: var(--color-white);
}

.room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.room-card {
    background-color: var(--color-off-white);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.room-img {
    position: relative;
    height: 250px;
}

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

.room-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--color-gold);
    color: var(--color-navy);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
}

.room-info {
    padding: 2rem;
}

.room-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.room-info p {
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.text-link {
    color: var(--color-gold-dark);
    font-weight: 600;
    transition: var(--transition);
}

.text-link:hover {
    color: var(--color-navy);
}

/* Experience Section */
.experience {
    padding: 6rem 0;
    background-color: var(--color-navy);
    color: var(--color-white);
}

.experience-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.experience-content h2 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.experience-content p {
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.exp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.exp-item {
    background-color: var(--color-navy-light);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.05);
}

.exp-icon {
    width: 50px;
    height: 50px;
    background-color: var(--color-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.exp-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-navy);
}

.exp-item h4 {
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.exp-item p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}

.experience-visual img {
    border-radius: 20px;
    width: 100%;
    height: 600px;
    object-fit: cover;
}

/* Gallery Section */
.gallery {
    padding: 6rem 0;
    background-color: var(--color-off-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.gallery-item {
    height: 300px;
    overflow: hidden;
    border-radius: 15px;
}

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

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

/* Contact Section */
.contact {
    padding: 6rem 0;
    background-color: var(--color-white);
}

.contact-box {
    background-color: var(--color-navy);
    border-radius: 30px;
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    color: var(--color-white);
}

.contact-info h2 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.detail .icon {
    width: 24px;
    height: 24px;
    color: var(--color-gold);
}

.detail a {
    color: var(--color-white);
    transition: var(--transition);
}

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

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    background-color: var(--color-navy-light);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold);
}

.success-message {
    background-color: var(--color-gold);
    color: var(--color-navy);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    margin-top: 1rem;
}

.hidden {
    display: none;
}

/* Footer */
.footer {
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.footer-col h4 {
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col a {
    color: var(--color-text-light);
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--color-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
    text-align: center;
    color: var(--color-text-light);
    font-size: 0.9rem;
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translate(0);
}

/* Responsive */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .about-container,
    .experience-container,
    .contact-box {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .exp-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-btns {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .contact-box {
        padding: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
