@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Poppins:wght@300;400;600&display=swap');

:root {
    --primary-dark: #2E333B;
    /* Reverted to Charcoal for kclogo3 */
    --accent-gold: #8C7851;
    --text-main: #333333;
    --text-muted: #666666;
    --bg-heritage: #FAF9F6;
    --bg-beige: #F5F5DC;
    --bg-ivory: #FFFFF0;
    --bg-white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-ivory);
    line-height: 1.8;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-dark);
    font-weight: 600;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-accent {
    color: var(--accent-gold);
}

.text-primary {
    color: var(--primary-dark);
}

.btn {
    display: inline-block;
    padding: 12px 35px;
    border-radius: 0;
    text-decoration: none;
    font-weight: 400;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
}

.btn-primary {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    border: 1px solid var(--primary-dark);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--bg-white);
    border: 1px solid var(--bg-white);
}

.btn-outline:hover {
    background-color: var(--bg-white);
    color: var(--primary-dark);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
    background-color: rgba(61, 54, 47, 0.9);
    /* Deep Umber semi-transparent */
    backdrop-filter: blur(10px);
}

header.scrolled {
    background-color: rgba(61, 54, 47, 0.98);
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 70px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.mobile-toggle {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

header.scrolled .mobile-toggle {
    color: white;
}

header.scrolled .logo {
    color: white;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    white-space: nowrap;
    /* Prevent wrapping */
    transition: color 0.3s ease;
}

header.scrolled .nav-links a {
    color: white;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../images/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    background: transparent;
    /* Removed frosty background */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    /* Reset padding for transparent version */
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h1,
.hero-content h1 .text-accent {
    font-size: 3.2rem;
    margin-bottom: 20px;
    color: white !important;
    /* Force white for Kerala Cruise */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    /* Reduced from 1.3rem */
    margin-bottom: 35px;
    color: white;
    /* Ensure all text is white */
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.hero-btns .btn {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

.heading-group {
    white-space: nowrap;
    display: inline-block;
}

.hero-btns .btn:hover {
    background-color: white;
    color: var(--primary-dark);
}

/* Section Common */
section {
    padding: 80px 0;
}

section:nth-of-type(even) {
    background-color: var(--bg-beige);
}

section:nth-of-type(odd) {
    background-color: var(--bg-ivory);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--accent-gold);
}

/* Grid Layouts */
.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
}

/* Placeholder Styles */
.photo-placeholders {
    width: 100%;
}

.placeholder-large {
    width: 100%;
    height: 400px;
    background: #e0e0e0;
    border: 2px dashed #bbb;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    position: relative;
    overflow: hidden;
}

.placeholder-overlay {
    background: rgba(140, 120, 81, 0.05);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    font-family: 'Playfair Display', serif;
}

.placeholder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.placeholder-item {
    height: 250px;
    background: #eee;
    border: 2px dashed #ccc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

/* Feature Box Styles */
.why-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 25px;
    border: 1px solid var(--bg-beige);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(46, 51, 59, 0.08);
    border-color: var(--accent-gold);
}

.f-icon {
    width: 60px;
    height: 60px;
    background: rgba(140, 120, 81, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-gold);
    transition: var(--transition);
}

.feature-card:hover .f-icon {
    background: var(--accent-gold);
    color: var(--bg-white);
}

.f-text p {
    margin: 0;
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--text-dark);
}

.feature-box p {
    margin: 0;
    font-weight: 500;
    color: var(--text-dark);
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: #F5F5DC;
    /* Beige */
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h3 {
    color: var(--bg-white);
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 25px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #F5F5DC;
    /* Beige */
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    color: #F5F5DC;
    /* Beige */
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
        z-index: 2000;
        cursor: pointer;
    }

    .mobile-toggle.active i::before {
        content: "\f00d";
        /* FontAwesome Close Icon */
    }

    .nav-links a {
        font-size: 1.2rem;
        color: white;
        display: block;
        padding: 10px 20px;
        width: 100%;
        text-align: center;
        white-space: nowrap;
        /* Prevent text wrapping */
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(61, 54, 47, 0.95);
        /* Deep Umber with 40% opacity */
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px 0;
        gap: 15px;
        z-index: 1500;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    z-index: 1500;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-links.active {
    display: flex;
    animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-links li {
    width: 100%;
    text-align: center;
}

.nav-links .btn {
    width: auto;
    padding: 12px 60px;
}

.hero-btns {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    gap: 15px;
}

.hero-btns .btn {
    width: 100%;
    padding: 12px 20px;
}

.hero-content h1 {
    font-size: 2.2rem;
}

.hero-content p {
    font-size: 1rem;
    padding: 0 15px;
    /* Better alignment */
}

/* Restore mobile grid stacking */
.welcome-grid,
.why-grid,
.footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
}

.welcome-text,
.welcome-img,
.why-image,
.why-content {
    width: 100%;
    max-width: 100%;
}

.welcome-img img {
    margin-top: 20px;
}

.section-title h2 {
    font-size: 1.8rem;
    line-height: 1.3;
}

.why-image {
    margin-bottom: 20px;
}

.why-image img {
    height: auto;
    width: 100%;
}

.feature-card {
    padding: 20px;
}

.packages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
}

.package-card {
    max-width: 100%;
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.7rem;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .feature-card {
        flex-direction: column;
        text-align: center;
    }

    .f-icon {
        margin: 0 auto 10px auto;
    }
}
