/* ═══════════════════════════════════════════════════════════════════
   Arillas Rent A Boat — Main Stylesheet
   Clean, Ocean-Inspired Mediterranean Design
   ═══════════════════════════════════════════════════════════════════ */

/* ── CSS Reset & Base ────────────────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Allow text selection on content areas */
p,
span,
h1,
h2,
h3,
h4,
h5,
h6,
small,
li,
a,
strong,
em {
    -webkit-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* ── Smooth Scrolling ───────────────────────────────────────────── */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Custom Properties - Ocean-Inspired Palette ─────────────────── */
:root {
    /* Ocean Colors - Pure Blue Mediterranen Theme */
    --ocean-deep: hsl(215, 65%, 20%);
    --ocean-primary: hsl(205, 60%, 40%);
    --ocean-light: hsl(200, 45%, 55%);
    --ocean-bright: hsl(195, 55%, 65%);
    --ocean-pale: hsl(200, 30%, 85%);

    /* Accent - Warm Sand & Coral */
    --sand: hsl(42, 55%, 70%);
    --coral: hsl(15, 75%, 65%);
    --coral-bright: hsl(15, 85%, 70%);

    /* Neutrals - Clean & Simple */
    --text-dark: hsl(200, 30%, 15%);
    --text-body: hsl(200, 15%, 35%);
    --text-muted: hsl(200, 10%, 55%);
    --text-light: hsl(200, 8%, 70%);

    /* Backgrounds */
    --bg-white: hsl(0, 0%, 100%);
    --bg-off-white: hsl(200, 30%, 98%);
    --bg-light: hsl(200, 25%, 96%);
    --bg-dark: hsl(200, 35%, 12%);

    /* Shadows - Subtle & Natural */
    --shadow-sm: 0 1px 3px hsla(200, 30%, 15%, 0.08);
    --shadow-md: 0 4px 12px hsla(200, 30%, 15%, 0.10);
    --shadow-lg: 0 8px 24px hsla(200, 30%, 15%, 0.12);
    --shadow-xl: 0 16px 40px hsla(200, 30%, 15%, 0.15);

    /* Spacing & Radius - Clean Geometry */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Transitions - Smooth & Natural */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.15s var(--ease);
    --transition: 0.3s var(--ease);
    --transition-slow: 0.5s var(--ease);

    /* Typography */
    --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-display: 'Poppins', 'Inter', system-ui, sans-serif;
}

/* ── Typography & Base ─────────────────────────────────────────────── */
body {
    font-family: var(--font-sans);
    color: var(--text-body);
    background: var(--bg-off-white);
    line-height: 1.6;
    font-size: 16px;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
}

/* ── Custom Scrollbar ───────────────────────────────────────────── */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--ocean-light) transparent;
}

*::-webkit-scrollbar {
    width: 8px;
}

*::-webkit-scrollbar-track {
    background: transparent;
}

*::-webkit-scrollbar-thumb {
    background: var(--ocean-light);
    border-radius: 10px;
}

*::-webkit-scrollbar-thumb:hover {
    background: var(--ocean-primary);
}

/* ══════════════════════════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════════════════════════ */

.main {
    background: url('images/4karilla.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            hsla(210, 60%, 25%, 0.65) 0%,
            hsla(205, 55%, 35%, 0.55) 50%,
            hsla(215, 65%, 30%, 0.70) 100%);
}

.main_container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.main_content {
    text-align: center;
    color: white;
    padding: 80px 0;
}

.main_content h1 {
    font-size: clamp(2rem, 6vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    color: white;
    letter-spacing: -0.02em;
}

.typewriter-cursor {
    font-weight: 200;
    color: var(--ocean-bright);
    animation: blink 1s infinite;
    margin-left: 2px;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.cta-primary,
.cta-secondary {
    padding: 18px 40px;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.cta-primary {
    background: var(--ocean-primary);
    color: white;
    box-shadow: 0 8px 24px rgba(24, 150, 160, 0.3);
}

.cta-primary:hover {
    background: var(--ocean-bright);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(24, 150, 160, 0.4);
    color: white;
}

.cta-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.6);
    color: white;
}

.hero-help-text {
    margin-top: 32px;
    font-size: 0.9rem;
    opacity: 0.85;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--ocean-pale);
}

/* ── Scroll Indicator ── */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 10;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid white;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    animation: mouseScroll 2s infinite;
}

.scroll-arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scroll-arrows span {
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid white;
    border-right: 2px solid white;
    transform: rotate(45deg);
    margin: -4px;
    animation: arrowScroll 2s infinite;
}

.scroll-arrows span:nth-child(2) {
    animation-delay: 0.2s;
}

.scroll-arrows span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes mouseScroll {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(15px);
    }
}

@keyframes arrowScroll {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-5px, -5px);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: rotate(45deg) translate(5px, 5px);
    }
}

/* ══════════════════════════════════════════════════════════════════
   BENEFITS SECTION
   ══════════════════════════════════════════════════════════════════ */

.page2 {
    background: var(--bg-off-white);
    padding: 100px 24px;
}

.page2_container {
    max-width: 1200px;
    margin: 0 auto;
}

.benefits-articles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background: var(--bg-white);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    text-align: center;
    border: 1px solid hsla(200, 30%, 15%, 0.04);
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--ocean-pale);
}

.benefit-card-icon {
    font-size: 3rem;
    color: var(--ocean-primary);
    margin-bottom: 24px;
}

.benefit-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.benefit-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-body);
}

/* ══════════════════════════════════════════════════════════════════
   EXPERIENCE SECTION (Third Page)
   ══════════════════════════════════════════════════════════════════ */

.thirdpage {
    background: url('images/sea2.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    padding: 100px 24px;
}

.thirdpage::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            hsla(200, 35%, 12%, 0.88) 0%,
            hsla(195, 40%, 18%, 0.82) 50%,
            hsla(200, 35%, 12%, 0.88) 100%);
}

.thirdpage_container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.experience-block {
    margin-bottom: 80px;
    text-align: center;
}

.lesson-badge {
    display: inline-block;
    background: var(--coral);
    color: white;
    padding: 8px 20px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.experience-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: white;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.experience-title.vip {
    color: var(--sand);
}

.big_article {
    max-width: 800px;
    margin: 0 auto;
}

.big_article p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: white !important;
    /* Force white text */
    margin-bottom: 20px;
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    /* Enhance readability */
}

/* VIP Grid - Clean & Simple */
.vip-experience {
    margin-top: 60px;
}

.vip-experience>p {
    color: white !important;
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.7;
    opacity: 1 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.vip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.vip-grid.no-images .vip-card {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    height: auto;
    min-height: auto;
    border-radius: 0;
    padding: 10px;
    box-shadow: none;
}

.vip-grid.no-images .vip-card:hover {
    background: transparent;
    transform: translateY(-5px);
}

.vip-card-overlay {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.vip-card-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0px;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

/* Minimalist Accent Line */
.vip-card-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--sand);
    margin: 20px auto;
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(180, 150, 80, 0.3);
}

.vip-card-desc {
    font-size: 1.1rem;
    color: white !important;
    line-height: 1.6;
    font-weight: 500;
    max-width: 280px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.vip-notice {
    max-width: 800px;
    margin: 60px auto 0;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.vip-notice p {
    color: white !important;
    font-size: 1rem;
    line-height: 1.8;
    text-align: center;
    opacity: 0.95;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.vip-notice a {
    color: var(--sand);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px dashed var(--sand);
}

.vip-notice a:hover {
    color: white;
    border-bottom-style: solid;
}

.vip-cta {
    margin-top: 40px;
    text-align: center;
}

.vip-link {
    display: inline-block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--sand);
    text-decoration: none;
    letter-spacing: 0.05em;
    padding: 12px 32px;
    border: 2px solid var(--sand);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.vip-link:hover {
    background: var(--sand);
    color: var(--text-dark);
}

/* ══════════════════════════════════════════════════════════════════
   CONTACT SECTION
   ══════════════════════════════════════════════════════════════════ */

#contact {
    background: #f8fafc;
    padding: 120px 24px;
}

.get-in-contract {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.get-in-contract h3 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 20px;
    color: #1a2a35;
    letter-spacing: -0.02em;
}

.contact-description {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 650px;
    margin: 0 auto 64px;
    line-height: 1.8;
}

.get-in-contract-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 72px;
}

.get-in-contract-info a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 48px 32px;
    background: #ffffff;
    border-radius: 24px;
    text-decoration: none;
    color: #1a2a35;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.get-in-contract-info a:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 124, 161, 0.1);
}

.get-in-contract-info i {
    font-size: 2.2rem;
    color: #007ca1;
    transition: transform 0.4s var(--ease);
}

.get-in-contract-info a:hover i {
    transform: scale(1.15);
}

.get-in-contract-info span {
    font-size: 1.15rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

/* Social Icons Pill Style */
.socialicons {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.socialicons a {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: #334155;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.4s var(--ease);
    padding: 16px 36px;
    border-radius: 100px;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.socialicons a:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    background: #fdfdfd;
}

.socialicons i {
    font-size: 1.8rem;
    display: block;
}

#socialicon1 {
    color: #E1306C; /* Instagram Pink */
}

#socialicon2 {
    color: #1877F2; /* Facebook Blue */
}

@media screen and (max-width: 768px) {
    #contact {
        padding: 80px 20px;
    }
    
    .get-in-contract-info {
        grid-template-columns: 1fr;
    }
    
    .socialicons {
        flex-direction: column;
        align-items: center;
    }
    
    .socialicons a {
        width: 100%;
        max-width: 350px;
        justify-content: center;
    }
}

/* ══════════════════════════════════════════════════════════════════
   MAP SECTION
   ══════════════════════════════════════════════════════════════════ */

.map-section {
    padding: 0 24px 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.map-section iframe {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: none;
}

/* ══════════════════════════════════════════════════════════════════
   SECTION DIVIDERS
   ══════════════════════════════════════════════════════════════════ */

.header {
    width: 100%;
    height: 60px;
    clip-path: polygon(0 0, 100% 0, 100% 50%, 56% 50%, 50% 100%, 44% 50%, 0 50%);
    background: var(--ocean-deep);
}

.header-2 {
    width: 100%;
    height: 60px;
    clip-path: polygon(0 50%, 44% 50%, 50% 0, 56% 50%, 100% 50%, 100% 100%, 0 100%);
    background: var(--ocean-deep);
}

/* ══════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════ */

footer.endofsite {
    background: var(--bg-dark);
    color: white;
    padding: 60px 24px;
    text-align: center;
}

footer hr {
    border: 0;
    border-top: 1px solid hsla(0, 0%, 100%, 0.1);
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-content span {
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-content a {
    color: hsla(0, 0%, 100%, 0.8);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition);
}

.footer-content a:hover {
    color: var(--ocean-bright);
}

#privacy-toggle-btn {
    background: hsla(0, 0%, 100%, 0.08);
    color: white;
    border: 1px solid hsla(0, 0%, 100%, 0.2);
    padding: 10px 28px;
    border-radius: 100px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

#privacy-toggle-btn:hover {
    background: white;
    color: var(--text-dark);
}

/* Privacy Policy Box */
.privacy-policy {
    margin-top: 48px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    background: hsla(0, 0%, 100%, 0.05);
    padding: 48px;
    border-radius: var(--radius-lg);
    border: 1px solid hsla(0, 0%, 100%, 0.1);
}

.privacy-policy h2,
.privacy-policy h3 {
    color: white;
    margin-bottom: 16px;
}

.privacy-policy p,
.privacy-policy li {
    color: hsla(0, 0%, 100%, 0.75);
    margin-bottom: 12px;
    line-height: 1.7;
}

.privacy-policy a {
    color: var(--ocean-bright);
}

/* VIP Phone Link */
.vip-phone {
    color: var(--ocean-bright) !important;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: var(--transition-fast);
}

.vip-phone:hover {
    border-bottom-color: var(--ocean-bright);
}

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ══════════════════════════════════════════════════════════════════ */

@media screen and (max-width: 768px) {
    .page2 {
        padding: 60px 20px;
    }

    .thirdpage {
        padding: 60px 20px;
    }

    #contact {
        padding: 60px 20px;
    }

    .vip-grid {
        grid-template-columns: 1fr;
    }

    .vip-card {
        height: 240px;
    }

    .privacy-policy {
        padding: 32px 24px;
    }

    .socialicons {
        gap: 16px;
    }

    .benefits-articles {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .main_content button {
        padding: 14px 36px;
        font-size: 0.85rem;
    }

    .benefit-card {
        padding: 32px 24px;
    }

    .get-in-contract-info {
        grid-template-columns: 1fr;
    }
}