/* ============================================
   NAUTICAL TULUM - STYLE.CSS
   Liquid Modernism Design Philosophy
   ============================================ */

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

:root {
    --ocean-dark: #1a3a52;
    --ocean-blue: #2d5a7b;
    --ocean-light: #4a7ba7;
    --sunset-orange: #ff8c42;
    --sunset-coral: #ff6b35;
    --cream-light: #f5f1e8;
    --teal-accent: #4a9b8e;
    --navy-deep: #0f1f2e;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: #fefdfb;
    color: #1a1a1a;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

a {
    color: var(--ocean-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--sunset-orange);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e8e3d8;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #2d5a7b 0%, #ff8c42 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: none;
    gap: 2rem;
}

.nav-links a {
    color: #1a1a1a;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--sunset-orange);
}

.btn-book {
    display: none;
    background: linear-gradient(135deg, #ff8c42, #ff6b35);
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-book:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 140, 66, 0.3);
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
    .btn-book {
        display: block;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    padding-top: 8rem;
    padding-bottom: 5rem;
    overflow: hidden;
}

.hero-orbs {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.6;
}

.orb-blue {
    background: linear-gradient(135deg, #2d5a7b, #4a7ba7);
    top: 5rem;
    left: 2.5rem;
    width: 16rem;
    height: 16rem;
    animation: float 8s ease-in-out infinite;
}

.orb-orange {
    background: linear-gradient(135deg, #ff8c42, #ff6b35);
    bottom: 2.5rem;
    right: 5rem;
    width: 24rem;
    height: 24rem;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 56rem;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #2d5a7b 0%, #ff8c42 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInUp 0.6s ease-out forwards;
}

.hero p {
    font-size: 1.25rem;
    color: #6b6b6b;
    margin-bottom: 2rem;
    animation: slideInUp 0.6s ease-out forwards;
    animation-delay: 0.1s;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideInUp 0.6s ease-out forwards;
    animation-delay: 0.2s;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-primary {
    background: linear-gradient(135deg, #2d5a7b, #4a7ba7);
    color: #f5f1e8;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(45, 90, 123, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, #ff8c42, #ff6b35);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 140, 66, 0.3);
}

/* ============================================
   WAVE DIVIDER
   ============================================ */

.wave-divider {
    width: 100%;
    height: 6rem;
    overflow: hidden;
}

.wave-divider svg {
    width: 100%;
    height: 100%;
}

/* ============================================
   ARTICLE SECTION
   ============================================ */

.article-section {
    padding: 5rem 1rem;
    background: linear-gradient(to bottom, rgba(240, 235, 224, 0.3), #fefdfb);
}

.article-container {
    max-width: 48rem;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 3rem;
    animation: slideInUp 0.6s ease-out forwards;
}

.article-header h2 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    margin-bottom: 1rem;
    color: #1a1a1a;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: #6b6b6b;
    margin-bottom: 2rem;
}

.article-divider {
    height: 0.25rem;
    width: 6rem;
    background: linear-gradient(135deg, #ff8c42, #ff6b35);
    border-radius: 9999px;
}

article {
    font-size: 1rem;
    line-height: 1.7;
    color: #4b5563;
}

article section {
    margin-bottom: 3rem;
    animation: slideInUp 0.6s ease-out forwards;
}

article h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin-bottom: 1rem;
    color: #1a1a1a;
    line-height: 1.3;
}

article p {
    margin-bottom: 1rem;
}

article ul {
    margin-left: 1rem;
    margin-bottom: 1rem;
}

article li {
    margin-bottom: 0.5rem;
}

article blockquote {
    border-left: 4px solid var(--sunset-orange);
    padding-left: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    background: rgba(240, 235, 224, 0.5);
    border-radius: 0.5rem;
    margin: 1.5rem 0;
    font-style: italic;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.glass-card h4 {
    color: var(--sunset-orange);
    font-weight: bold;
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.glass-card h4.cautionary {
    color: var(--sunset-coral);
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services-section {
    padding: 5rem 1rem;
    position: relative;
    overflow: hidden;
}

.services-section h2 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    text-align: center;
    margin-bottom: 3rem;
    animation: slideInUp 0.6s ease-out forwards;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.service-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: slideInUp 0.6s ease-out forwards;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(45, 90, 123, 0.2);
}

.service-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #ff8c42, #ff6b35);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

.service-card p {
    color: #4b5563;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
    padding: 5rem 1rem;
    background: rgba(240, 235, 224, 0.2);
}

.about-section h2 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    text-align: center;
    margin-bottom: 3rem;
    animation: slideInUp 0.6s ease-out forwards;
}

.about-content {
    max-width: 48rem;
    margin: 0 auto;
}

.about-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 1.5rem;
    animation: slideInUp 0.6s ease-out forwards;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
    padding: 5rem 1rem;
}

.contact-section h2 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    text-align: center;
    margin-bottom: 3rem;
    animation: slideInUp 0.6s ease-out forwards;
}

.contact-form {
    max-width: 32rem;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.5rem;
    padding: 2rem;
    animation: slideInUp 0.6s ease-out forwards;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #e8e3d8;
    background: #f5f1e8;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px #2d5a7b;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: var(--ocean-dark);
    color: var(--cream-light);
    padding: 3rem 1rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    font-size: 0.875rem;
    opacity: 0.8;
    color: var(--cream-light);
}

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

.footer-section li {
    margin-bottom: 0.5rem;
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .navbar .container {
        padding: 1rem;
    }

    .hero {
        padding-top: 6rem;
    }

    .orb-blue {
        width: 12rem;
        height: 12rem;
        top: 2rem;
        left: 1rem;
    }

    .orb-orange {
        width: 16rem;
        height: 16rem;
        right: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}
