/* CSS Variables */
:root {
    --primary-color: #1a5276;
    --secondary-color: #3498db;
    --accent1-color: #2c3e50;
    --accent2-color: #e74c3c;
    --heading-font: 'Arial', sans-serif;
    --body-font: 'Helvetica', sans-serif;
    --text-color: #333;
    --background-color: #f9f9f9;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styles */
body {
    font-family: var(--body-font);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
}

/* Layout */
header, main, footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header with CSS Grid */
.header-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    background-color: var(--primary-color);
}

.logo {
    width: 120px;
    height: auto;
    justify-self: start;
}

/* Navigation with CSS Flex */
nav {
    display: flex;
    justify-content: flex-end;
    gap: 30px;
    margin-right: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

nav a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Hero Section - About Page */
.hero {
    position: relative;
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero img {
    display: block;
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.hero h1 {
    position: absolute;
    top: 30px;
    width: 100%;
    padding: 20px;
    text-align: center;
    background-color: rgba(26, 82, 118, 0.85);
    color: white;
    font-family: var(--heading-font);
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero article {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 25px;
    width: 50%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero article img {
    float: right;
    width: 140px;
    height: auto;
    margin-left: 20px;
    border-radius: 6px;
    border: 3px solid var(--secondary-color);
}

/* History Section - About Page */
.history {
    margin: 50px 0;
    padding: 30px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.history h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-size: 2rem;
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 10px;
}

.history-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
}

.history-content img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.history-content p {
    text-align: justify;
    line-height: 1.8;
}

/* Adventures Section - About Page */
.adventures {
    margin: 50px 0;
    padding: 30px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.adventures h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-size: 2rem;
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 10px;
}

.adventure-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.adventure-gallery figure {
    text-align: center;
    margin: 0;
    padding: 0;
}

.adventure-gallery img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.adventure-gallery img:hover {
    transform: scale(1.05);
}

.adventure-gallery figcaption {
    margin-top: 10px;
    font-weight: bold;
    color: var(--accent1-color);
    font-size: 0.9rem;
}

/* Contact Page Specific Styles */

/* Contact Hero Section */
.contact-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 40px;
}

.contact-hero h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0;
}

/* Contact Container */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Company Information Section */
.company-info {
    margin-bottom: 50px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-details h3,
.map-container h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
}

.contact-item {
    margin-bottom: 25px;
}

.contact-item strong {
    display: block;
    color: var(--accent1-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-item p {
    margin: 0;
    line-height: 1.6;
}

.map-container iframe {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Employee Profiles Section */
.employee-profiles {
    margin-bottom: 50px;
    text-align: center;
}

.employees-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.employee {
    text-align: center;
    margin: 0;
}

.employee img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--secondary-color);
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.employee figcaption {
    font-size: 0.95rem;
    line-height: 1.4;
}

.employee strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Contact Form Section */
.contact-form-section {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px;
}

.contact-form-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--accent1-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Radio Button Styles */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 0;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    margin-right: 12px;
    position: relative;
    transition: all 0.3s ease;
}

.radio-option input[type="radio"]:checked + .radio-custom {
    border-color: var(--secondary-color);
    background-color: var(--secondary-color);
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.radio-option:hover .radio-custom {
    border-color: var(--secondary-color);
}

/* Checkbox Styles */
.checkbox-group {
    margin-top: 30px;
}

.checkbox-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 0;
}

.checkbox-option input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 4px;
    margin-right: 12px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-custom {
    border-color: var(--secondary-color);
    background-color: var(--secondary-color);
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
}

.checkbox-option:hover .checkbox-custom {
    border-color: var(--secondary-color);
}

/* Submit Button */
.submit-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    margin-top: 20px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Footer Styles */
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    margin-top: 50px;
    border-top: 3px solid var(--primary-color);
    background-color: var(--primary-color);
    color: white;
}

footer p {
    margin: 0;
    padding: 0;
}

.socialmedia {
    display: flex;
    gap: 20px;
}

.socialmedia a {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.socialmedia img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.socialmedia a:hover {
    background-color: var(--secondary-color);
}

.socialmedia a:hover img {
    transform: scale(1.2);
}

/* Additional Styling */
h1, h2 {
    font-family: var(--heading-font);
    color: var(--primary-color);
}

p {
    margin-bottom: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Header and Navigation */
    .header-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 15px;
    }
    
    nav {
        justify-content: center;
        margin-right: 0;
        flex-wrap: wrap;
    }
    
    /* About Page Responsive */
    .hero article {
        width: 80%;
        position: relative;
        margin: 20px auto;
    }
    
    .history-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .adventure-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    /* Contact Page Responsive */
    .contact-hero {
        padding: 40px 20px;
    }
    
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .employees-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .employee img {
        width: 150px;
        height: 150px;
    }
    
    .contact-form-section {
        padding: 30px 20px;
    }
    
    .radio-group {
        gap: 8px;
    }
    
    /* Footer Responsive */
    footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .adventure-gallery {
        grid-template-columns: 1fr;
    }
    
    nav {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero h1 {
        font-size: 2rem;
        padding: 15px;
    }
    
    .contact-hero h1 {
        font-size: 1.8rem;
    }
    
    .employees-grid {
        grid-template-columns: 1fr;
    }
}

/* Home Page Styles */
.home-hero {
    position: relative;
    margin-bottom: 60px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.home-hero img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 90%;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    color: white;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent2-color), #c0392b);
    color: white;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}

.cta-button:active {
    transform: translateY(-1px);
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, var(--primary-color), var(--accent1-color));
    color: white;
    padding: 60px 20px;
    margin: 60px 0;
}

.newsletter-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter h2 {
    color: white;
    margin-bottom: 15px;
    font-size: 2.2rem;
}

.newsletter p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 15px;
    align-items: end;
}

.newsletter-form input {
    padding: 12px 15px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
}

.newsletter-form button {
    background: var(--accent2-color);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #c0392b;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.features h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 3px solid var(--secondary-color);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.feature-card p {
    line-height: 1.6;
    color: var(--accent1-color);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 80px 0;
    margin: 60px 0;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.cta-button.secondary:hover {
    background: var(--primary-color);
    color: white;
}

.cta-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Trips Page Styles */
.trips-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: 80px 20px;
    margin-bottom: 60px;
}

.trips-hero-content h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 20px;
}

.trips-hero-content p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Featured Trips */
.featured-trips {
    padding: 60px 0;
    background-color: white;
}

.featured-trips h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.trips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.trip-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.trip-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.trip-content {
    padding: 30px;
}

.trip-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.trip-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.difficulty {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.difficulty.beginner {
    background: #27ae60;
    color: white;
}

.difficulty.easy {
    background: #2ecc71;
    color: white;
}

.difficulty.intermediate {
    background: #f39c12;
    color: white;
}

.difficulty.advanced {
    background: #e74c3c;
    color: white;
}

.difficulty.expert {
    background: #c0392b;
    color: white;
}

.duration, .price {
    background: #ecf0f1;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.price {
    background: var(--secondary-color);
    color: white;
}

.trip-features {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.trip-features li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.trip-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.book-button {
    display: inline-block;
    background: var(--accent2-color);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background 0.3s ease;
    width: 100%;
    text-align: center;
}

.book-button:hover {
    background: #c0392b;
}

/* All Trips Table */
.all-trips {
    padding: 60px 0;
    background: #f8f9fa;
}

.table-container {
    overflow-x: auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.trips-table {
    width: 100%;
    border-collapse: collapse;
}

.trips-table th,
.trips-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ecf0f1;
}

.trips-table th {
    background: var(--primary-color);
    color: white;
    font-weight: bold;
}

.trips-table tr:hover {
    background: #f8f9fa;
}

.book-now {
    background: var(--secondary-color);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.book-now:hover {
    background: #2980b9;
}

/* Trip Planning Section */
.trip-planning {
    background: linear-gradient(135deg, var(--primary-color), var(--accent1-color));
    color: white;
    padding: 80px 0;
    margin-top: 60px;
}

.planning-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.planning-content h2 {
    color: white;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.planning-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.planning-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.planning-feature {
    text-align: center;
}

.planning-feature strong {
    display: block;
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: white;
}

.planning-feature p {
    margin: 0;
    opacity: 0.8;
}

/* Responsive Design Updates */
@media (max-width: 768px) {
    /* Home Page Mobile */
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .newsletter-form {
        grid-template-columns: 1fr;
    }
    
    .cta-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    /* Trips Page Mobile */
    .trips-hero-content h1 {
        font-size: 2.2rem;
    }
    
    .trips-grid {
        grid-template-columns: 1fr;
    }
    
    .trip-meta {
        justify-content: center;
    }
    
    .planning-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .trips-table {
        font-size: 0.9rem;
    }
    
    .trips-table th,
    .trips-table td {
        padding: 10px 5px;
    }
}