/* Main Stylesheet for Cultural Journey website */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color scheme */
    --burgundy: #800020;
    --teal: #008080;
    --off-white: #F5F5DC;
    --light-gray: #f0f0f0;
    --dark-gray: #333333;
    
    /* Typography */
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Roboto', sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
}

body {
    font-family: var(--body-font);
    color: var(--dark-gray);
    line-height: 1.6;
    background-color: var(--off-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    margin-bottom: var(--space-md);
    color: var(--burgundy);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--space-md);
}

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

a:hover {
    color: var(--burgundy);
}

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

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

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

/* Header Styles */
header {
    background-color: var(--burgundy);
    color: var(--off-white);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-lg);
}

.logo {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--off-white);
}

.logo a {
    color: var(--off-white);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: var(--space-lg);
}

.nav-menu a {
    color: var(--off-white);
    font-weight: 500;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--teal);
    transition: width 0.3s ease;
}

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

.header-cta {
    margin-left: var(--space-lg);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--off-white);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
}

/* Hero Section Styles */
.hero {
    height: 80vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--off-white);
    margin-top: 80px; /* To account for fixed header */
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: var(--space-lg);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: var(--space-md);
    color: var(--off-white);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: var(--space-lg);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-teal {
    background-color: var(--teal);
    color: var(--off-white);
    border: 2px solid var(--teal);
}

.btn-teal:hover {
    background-color: transparent;
    color: var(--teal);
}

.btn-outline {
    background-color: transparent;
    color: var(--off-white);
    border: 2px solid var(--off-white);
}

.btn-outline:hover {
    background-color: var(--off-white);
    color: var(--burgundy);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Card Styles */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card.hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.card-content {
    padding: var(--space-lg);
}

.card h3 {
    margin-top: 0;
}

/* Footer Styles */
footer {
    background-color: var(--burgundy);
    color: var(--off-white);
    padding: var(--space-xl) 0 var(--space-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.footer-column h3 {
    color: var(--off-white);
    margin-bottom: var(--space-md);
    font-size: 1.2rem;
}

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

.footer-menu li {
    margin-bottom: var(--space-sm);
}

.footer-menu a {
    color: var(--off-white);
    opacity: 0.8;
}

.footer-menu a:hover {
    opacity: 1;
}

.social-icons {
    display: flex;
    margin-top: var(--space-md);
}

.social-icons a {
    color: var(--off-white);
    font-size: 1.5rem;
    margin-right: var(--space-md);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.social-icons a:hover {
    opacity: 1;
}

.copyright {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: var(--space-lg);
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: var(--space-md);
    }
    
    .nav-menu {
        display: none;
    }
    
    .header-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .mobile-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--burgundy);
        padding: var(--space-md);
        display: none;
    }
    
    .mobile-menu.active {
        display: block;
    }
    
    .mobile-menu ul {
        list-style: none;
    }
    
    .mobile-menu li {
        margin-bottom: var(--space-md);
    }
    
    .mobile-menu a {
        color: var(--off-white);
        display: block;
        padding: var(--space-sm) 0;
    }
    
    .mobile-cta {
        display: block;
        margin-top: var(--space-md);
    }
    
    .hero {
        height: 60vh;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section {
        padding: var(--space-lg) 0;
    }
}

@media (max-width: 576px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-column {
        margin-bottom: var(--space-lg);
    }
}
