/* style.css */
:root {
    --primary: #0A192F;
    --primary-light: #172A45;
    --accent: #D4AF37; /* Gold/Sand for luxury feel */
    --sand: #F4EBE1;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #FAFAFA;
    --white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.18);
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 600;
}

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

ul {
    list-style: none;
}

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

.section {
    padding: 6rem 0;
}

/* Utilities */
.section-subtitle {
    display: block;
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.bg-light { background-color: var(--white); }
.bg-sand { background-color: var(--sand); }
.bg-navy { background-color: var(--primary); }
.text-light { color: var(--white); }
.text-light h3, .text-light p { color: var(--white); }

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

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: 1px solid var(--primary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
    background-color: white;
}

/* Navbar specific outline btn logic later */
.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: var(--white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    color: var(--primary);
}

.nav-logo {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.nav-logos-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-left: 1.5rem;
}

.social-icon {
    font-size: 1.1rem;
    color: var(--text-dark);
    padding: 0.4rem;
    transition: var(--transition);
}

.social-icon:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

.btn-booking {
    padding: 0.6rem 1.5rem;
}

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

.nav-links a:not(.btn) {
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 1rem;
    text-align: center;
    line-height: 1.4;
    display: inline-block;
}

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

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.navbar .btn-outline {
    border-color: var(--primary);
    color: var(--primary);
}

.navbar .btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 85px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background-color: var(--primary);
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 25, 47, 0.4), rgba(10, 25, 47, 0.65));
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    z-index: 1;
    position: relative;
    width: 100%;
}

.hero-logos-container-centered {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 1rem;
    width: 100%;
}

.hero-floating-logo {
    height: auto;
    filter: drop-shadow(0px 4px 10px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

.hero-floating-logo:hover {
    transform: scale(1.05);
}

.amare-logo-centered {
    width: 380px;
    max-width: 45%;
}

.palanca-logo-centered {
    width: 260px;
    max-width: 35%;
}

.hero-content h1 {
    font-size: 4.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* Split Layout / About */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

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

.about-text p {
    margin-bottom: 1.25rem;
    color: var(--text-light);
    font-size: 1.05rem;
}

.image-wrapper {
    position: relative;
    padding: 2rem 2rem 0 0;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}

.decorative-box {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 90%;
    background-color: var(--sand);
    z-index: 1;
    border-radius: 4px;
}

/* Sirolo section */
.section-header {
    text-align: center;
    max-width: 700px;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

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

.activities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.activity-card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.activity-card img, .activity-placeholder {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-content {
    padding: 2.5rem 2rem;
    flex-grow: 1;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-content p {
    color: var(--text-light);
    font-size: 1rem;
}

.activity-card .text-light h3, .activity-card .text-light p {
    color: rgba(255,255,255,0.9);
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 5rem 0 2rem;
}

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

.footer-brand h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
}

.footer-contact h3, .footer-social h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-contact p, .footer-social p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.75rem;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    color: rgba(255,255,255,0.4);
    font-size: 0.875rem;
}

/* Additional Utility for Spacing Options */
.mt-3 {
    margin-top: 1rem;
}

.footer-logo {
    height: 90px;
    width: auto;
    border-radius: 4px;
}

.footer-logos-wrapper {
    display: flex;
    gap: 20px;
    margin-bottom: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.footer-social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.footer-social-icons .social-icon {
    color: var(--white);
    font-size: 1.5rem;
}

.footer-social-icons .social-icon:hover {
    color: var(--accent);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.visible {
    opacity: 1;
    transform: translate(0);
}

.delay-1 { transition-delay: 0.2s; }

/* Responsive */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-logos-container-centered {
        flex-direction: column;
        gap: 20px;
    }
    
    .amare-logo-centered { width: 300px; max-width: 80%; }
    .palanca-logo-centered { width: 220px; max-width: 60%; }
    
    .split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image .decorative-box {
        display: none; /* Simplify on mobile */
    }
    
    .about-image {
        order: -1;
    }
    .image-wrapper {
        padding: 0;
    }
    
    .activities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        background: var(--white);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    }
    
    .bar {
        background-color: var(--primary);
    }

    .hamburger {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 1rem;
        flex-direction: column;
        background-color: var(--primary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .nav-actions {
        margin-left: 0;
        margin-top: 1rem;
        justify-content: center;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links a:not(.btn) {
        margin: 1rem 0;
        color: var(--white) !important;
    }
    
    .navbar.scrolled .btn-outline {
        border-color: var(--white);
        color: var(--white);
    }
    
    .hero-content h1 {
        font-size: 2.75rem;
    }
    
    .hero {
        height: auto;
        min-height: 85vh;
        padding-top: 120px;
        padding-bottom: 60px;
    }
    
    .hero-content {
        padding-top: 20px;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* Modal Booking Policy */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.6);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active .modal-overlay {
    opacity: 1;
}

.modal-wrapper {
    background: var(--white);
    width: 100%;
    max-width: 800px;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(10, 25, 47, 0.25);
    z-index: 2;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.modal.active .modal-wrapper {
    transform: scale(1);
    opacity: 1;
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
}

.modal-header h2 {
    font-size: 1.75rem;
    color: var(--primary);
    margin: 0;
    font-family: var(--font-heading);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    padding: 0.5rem;
    line-height: 1;
}

.modal-close:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
    font-size: 0.95rem;
    color: var(--text-dark);
}

/* Custom Scrollbar for Modal Body */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: var(--bg-light);
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.modal-body h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
    font-family: var(--font-heading);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 0.25rem;
}

.modal-body h3:first-of-type {
    margin-top: 0;
}

.modal-body p {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.7;
}

.modal-body strong {
    color: var(--primary);
}

.modal-body ul {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
    list-style-type: disc;
}

.modal-body li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

