@import './components/popularTours.css';

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: #2c2c2c;
    line-height: 1.6;
}


.header-top {
    background: #f8f8f8;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid #e0e0e0;
}


nav a {
    text-decoration: none;
    color: #2c2c2c;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #ff5722 !important;
}

.btn-primary {
    background: #ff5722;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    font-weight: 500;
}

.btn-primary:hover {
    background: #e64a19;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="pattern" patternUnits="userSpaceOnUse" width="100" height="100"><rect fill="%23ff5722" width="50" height="50" opacity="0.1"/><rect fill="%23ff8a65" x="50" y="50" width="50" height="50" opacity="0.1"/></pattern></defs><rect width="1200" height="600" fill="url(%23pattern)"/><path d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600" fill="%23ff5722" opacity="0.2"/></svg>');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Search Bar */
.search-container {
    background: white;
    padding: 20px;
    border-radius: 50px;
    display: flex;
    gap: 15px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    align-items: center;
}

.search-input {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.search-input svg {
    width: 20px;
    height: 20px;
    color: #666;
}

.search-input input {
    border: none;
    outline: none;
    font-size: 16px;
    width: 100%;
    padding: 10px;
}

.search-btn {
    background: #ff5722;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
}

.search-btn:hover {
    background: #e64a19;
    transform: scale(1.05);
}

/* Destinations */
.destinations {
    padding: 60px 0;
    background: #f9f9f9;
}

.destination-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.destination-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 250px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.destination-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.destination-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
}

.destination-name {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.destination-tours {
    font-size: 14px;
    opacity: 0.9;
}

/* Footer */
footer {
    background: #2c2c2c;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #ff5722;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #ff5722;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #999;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }

    .search-container {
        flex-direction: column;
        border-radius: 12px;
    }

    nav ul {
        display: none;
    }

    .tour-grid {
        grid-template-columns: 1fr;
    }

    .destination-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .newsletter-form {
        flex-direction: column;
    }
}