/* ============================================================
   My Samui Island Tour — Template Stylesheet
   iACC Template System | Tour Company Demo
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
    --ocean: #0369a1;
    --ocean-dark: #075985;
    --ocean-light: #0ea5e9;
    --teal: #0d9488;
    --teal-light: #14b8a6;
    --sky: #06b6d4;
    --coral: #f43f5e;
    --sand: #f5f0e8;
    --gold: #f59e0b;
    --dark: #0f172a;
    --dark-soft: #1e293b;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --gray-bg: #f1f5f9;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: all 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: 50px;
    font-family: inherit;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--ocean), var(--teal));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(3,105,161,0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(3,105,161,0.4);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(15,23,42,0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
}
.logo-icon { font-size: 28px; }
.logo-highlight { color: var(--sky); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}
.nav-links a {
    color: rgba(255,255,255,0.8);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
}
.nav-links a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.1);
}

.nav-actions { display: flex; align-items: center; gap: 16px; }

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('https://www.mysamuiisland.com/wp-content/uploads/2024/03/angthong-nation-marine-park.jpg') center/cover no-repeat;
    color: var(--white);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(3,105,161,0.85) 0%, rgba(13,148,136,0.7) 50%, rgba(15,23,42,0.8) 100%);
}

.hero-content {
    position: relative;
    padding: 140px 0 100px;
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}
.hero-highlight { color: var(--sky); }

.hero-sub {
    font-size: 18px;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 36px;
    max-width: 550px;
}

.hero-buttons { display: flex; gap: 16px; margin-bottom: 60px; flex-wrap: wrap; }

.hero-stats {
    display: flex;
    gap: 48px;
}
.hero-stats .stat {
    display: flex;
    flex-direction: column;
}
.hero-stats .stat strong {
    font-size: 32px;
    font-weight: 800;
    color: var(--sky);
}
.hero-stats .stat span {
    font-size: 13px;
    opacity: 0.7;
}

/* ---------- Section Common ---------- */
section { padding: 100px 0; }

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(3,105,161,0.1), rgba(13,148,136,0.1));
    color: var(--ocean);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.section-header p {
    font-size: 16px;
    color: var(--gray);
    max-width: 500px;
    margin: 0 auto;
}

/* ---------- Tour Cards ---------- */
.tour-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.tour-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}
.tour-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.tour-image {
    position: relative;
    height: 220px;
    background-size: cover;
    background-position: center;
}

.tour-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 5px 14px;
    background: var(--coral);
    color: var(--white);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.tour-type {
    position: absolute;
    bottom: 16px;
    left: 16px;
    padding: 5px 12px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    color: var(--white);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
}

.tour-body {
    padding: 24px;
}
.tour-body h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}
.tour-body p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 16px;
    line-height: 1.5;
}

.tour-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}
.tour-meta span {
    font-size: 13px;
    color: var(--gray-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.tour-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--gray-bg);
}

.tour-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--ocean);
}
.tour-price small {
    font-size: 13px;
    font-weight: 400;
    color: var(--gray);
}

.btn-book {
    padding: 10px 24px;
    font-size: 14px;
}

/* ---------- Destinations ---------- */
.destinations { background: var(--gray-bg); }

.dest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.dest-card {
    position: relative;
    height: 320px;
    border-radius: var(--radius);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: var(--transition);
}
.dest-card:hover { transform: scale(1.02); }
.dest-card:hover .dest-overlay { opacity: 1; }

.dest-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(3,105,161,0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    opacity: 0.85;
    transition: var(--transition);
}
.dest-overlay h3 {
    color: var(--white);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 4px;
}
.dest-overlay span {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

/* ---------- Booking ---------- */
.booking {
    background: linear-gradient(135deg, var(--ocean-dark) 0%, var(--teal) 100%);
    color: var(--white);
}

.booking-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.booking-info h2 {
    font-size: 36px;
    font-weight: 700;
    margin: 12px 0;
}
.booking-info p {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.7;
    margin-bottom: 32px;
}

.booking-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 40px;
}
.bf {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
}
.bf i { font-size: 18px; color: var(--sky); }

.powered-by {
    padding: 16px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(10px);
}

.booking-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    color: var(--dark);
}

.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.booking-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-bg);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
    background: var(--gray-bg);
    color: var(--dark);
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: var(--ocean);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(3,105,161,0.1);
}

.form-note {
    text-align: center;
    font-size: 12px;
    color: var(--gray);
    margin-top: 12px;
}

/* ---------- About ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 12px 0;
}
.about-content p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}
.ah {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
}
.ah i { color: var(--ocean); font-size: 18px; }

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* ---------- Contact ---------- */
.contact { background: var(--gray-bg); }

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.contact-card {
    background: var(--white);
    padding: 36px 24px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.contact-card:hover { transform: translateY(-4px); }
.contact-card i {
    font-size: 28px;
    color: var(--ocean);
    margin-bottom: 16px;
}
.contact-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}
.contact-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.5;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand .logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    display: block;
    margin-top: 8px;
}
.footer-brand p {
    font-size: 14px;
    margin-top: 12px;
    line-height: 1.6;
}

.footer-links h4 {
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
}
.footer-links a {
    display: block;
    font-size: 14px;
    padding: 5px 0;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--sky); }

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .tour-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 36px; }
    .hero-stats { gap: 24px; }
    .hero-stats .stat strong { font-size: 24px; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15,23,42,0.98);
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }
    .nav-links.active { display: flex; }
    .mobile-toggle { display: block; }

    .tour-grid { grid-template-columns: 1fr; }
    .dest-grid { grid-template-columns: 1fr; }
    .booking-wrapper { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr 1fr; }
    .booking-features { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }

    section { padding: 60px 0; }
    .section-header h2 { font-size: 28px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 28px; }
    .hero-buttons { flex-direction: column; }
    .hero-stats { flex-direction: column; gap: 12px; }
    .contact-grid { grid-template-columns: 1fr; }
    .booking-form { padding: 24px; }
    .nav-actions .btn { display: none; }
}
