/* 
  TravelSERU - Premium Travel Website 
  Inspiration: Clean Luxury, Editorial Layout (e.g., Sequoia Yacht)
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* Brand Colors */
    --color-orange: #FF7A1A;
    --color-turquoise: #00B8D9;
    --color-navy: #073763;
    --color-teal: #0797A5;
    
    /* Neutral & Background Colors */
    --color-white: #FFFFFF;
    --color-soft-sky: #EAF8FC;
    --color-light-cream: #FFF8F0;
    --color-charcoal: #1F2933;
    --color-soft-gray: #F5F7FA;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif; /* Elegant, luxury feel for headings */
    --font-body: 'Inter', sans-serif; /* Clean, highly readable for body text */
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;

    /* Shadows & Radii */
    --shadow-soft: 0 10px 40px rgba(7, 55, 99, 0.08);
    --radius-md: 12px;
    --radius-lg: 24px;
}

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

body {
    font-family: var(--font-body);
    color: var(--color-charcoal);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-navy);
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.text-center { text-align: center; }
.text-orange { color: var(--color-orange); }
.text-navy { color: var(--color-navy); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: #e66a12;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 122, 26, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-navy);
    border: 1px solid var(--color-navy);
}

.btn-secondary:hover {
    background-color: var(--color-navy);
    color: var(--color-white);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 0;
    z-index: 1000;
    transition: all 0.4s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 1px;
}

.navbar.scrolled .logo {
    color: var(--color-navy);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-white);
    position: relative;
}

.navbar.scrolled .nav-links a {
    color: var(--color-charcoal);
}

.navbar.scrolled .login-btn {
    color: var(--color-navy) !important;
    border-color: var(--color-navy) !important;
}

.navbar.scrolled .login-btn:hover {
    background-color: var(--color-navy) !important;
    color: white !important;
}

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

.nav-links a:hover::after {
    width: 100%;
}

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

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Default background image, will be overridden inline or with JS */
    background-image: url('../img/japan_kyoto_1780037009996.png');
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(7, 55, 99, 0.4), rgba(7, 55, 99, 0.2));
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--color-white);
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 40px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

/* Sections */
.section {
    padding: var(--space-xl) 0;
}

.section-header {
    margin-bottom: var(--space-lg);
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Values Section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.value-card {
    padding: 40px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-soft-sky);
    color: var(--color-teal);
    border-radius: 50%;
    font-size: 1.5rem;
}

.value-title {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

/* Packages Grid */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.package-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(7, 55, 99, 0.12);
}

.package-img-wrap {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.package-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.package-card:hover .package-img {
    transform: scale(1.05);
}

.package-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--color-white);
    color: var(--color-teal);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.package-content {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.package-meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 12px;
}

.package-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
    flex-grow: 1;
}

.package-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-orange);
    margin-bottom: 24px;
}

.package-price span {
    font-size: 0.85rem;
    color: #666;
    font-weight: 400;
}

/* Footer */
footer {
    background: var(--color-navy);
    color: var(--color-white);
    padding: 80px 0 40px;
}

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

.footer-brand h3 {
    color: var(--color-white);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

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

.footer-title {
    color: var(--color-white);
    font-size: 1.2rem;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .nav-links {
        display: none; /* Add JS toggle later */
    }
}
