/* ========================================
   TOURISM BOOKING PORTAL - MASTER STYLESHEET
   ======================================== */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Paytone+One&family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

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

body {
    font-family: 'Poppins', sans-serif;
    background: #f5f5f5;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, .section-title {
    font-family: 'Paytone One', sans-serif;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #1a1a2e;
}

.section-title p {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #666;
    margin-top: 10px;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background: #ffffff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    height: 50px;
}

.navbar {
    display: flex;
    list-style: none;
    gap: 30px;
}

.navbar li a {
    text-decoration: none;
    color: #1a1a2e;
    font-weight: 500;
    transition: 0.3s;
    padding: 8px 0;
}

.navbar li a:hover,
.navbar li a.active {
    color: #e67e22;
    border-bottom: 2px solid #e67e22;
}

.register-btn {
    background: #e67e22 !important;
    color: white !important;
    padding: 8px 25px !important;
    border-radius: 30px !important;
    border-bottom: none !important;
}

.register-btn:hover {
    background: #d35400 !important;
    transform: translateY(-2px);
}

#menu-icon {
    font-size: 30px;
    cursor: pointer;
    display: none;
}

/* Buttons */
.btn, .btn-primary {
    background: #e67e22;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover, .btn-primary:hover {
    background: #d35400;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
}

.btn-secondary {
    background: #6c757d;
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/bgimg.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #e67e22, #f39c12);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e67e22, #f39c12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 40px;
    color: white;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #1a1a2e;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.9rem;
}

.service-features {
    margin: 20px 0;
    text-align: left;
}

.service-features span {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: #555;
}

.service-features i {
    color: #27ae60;
    margin-right: 8px;
}

.service-btn {
    display: inline-block;
    padding: 10px 25px;
    background: #e67e22;
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
    margin-top: 15px;
}

.service-btn:hover {
    background: #d35400;
    transform: translateX(5px);
}

/* Destinations Grid */
.featured-destinations,
.packages-section,
.why-choose-us,
.testimonials,
.newsletter {
    padding: 80px 0;
}

.destination-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.add-destination-btn {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.add-destination-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}

.destination-grid,
.packages-grid,
.features-grid,
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.destination-card,
.package-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    cursor: pointer;
    position: relative;
}

.destination-card:hover,
.package-card:hover {
    transform: translateY(-10px);
}

.destination-card img,
.package-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.card-content p {
    color: #666;
    font-size: 0.9rem;
}

.price {
    color: #e67e22;
    font-weight: bold;
    font-size: 1.2rem;
    display: block;
    margin-top: 10px;
}

.remove-dest-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 10;
}

.destination-card:hover .remove-dest-btn {
    opacity: 1;
}

.remove-dest-btn:hover {
    background: #c0392b;
}

/* Features / Why Choose Us */
.feature {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    transition: 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature i {
    font-size: 50px;
    color: #e67e22;
    margin-bottom: 20px;
}

.feature h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

/* Package Details */
.package-details {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.package-price {
    color: #e67e22;
    font-weight: bold;
}

/* Testimonials */
.testimonial-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 15px;
}

/* Modal */
.destination-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.destination-modal-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.destination-modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-modal {
    font-size: 28px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #e74c3c;
}

.destination-modal-content form {
    padding: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 20px;
}

.btn-cancel {
    padding: 10px 20px;
    background: #95a5a6;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.btn-submit {
    padding: 10px 20px;
    background: #27ae60;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-align: center;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.newsletter-form input {
    padding: 12px 20px;
    width: 300px;
    border: none;
    border-radius: 30px;
    outline: none;
}

.newsletter-form button {
    padding: 12px 30px;
    background: #e67e22;
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
}

/* Footer */
footer {
    background: #1a1a2e;
    color: white;
    padding: 50px 0 20px;
}

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

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

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

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #e67e22;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 10px;
}

.footer-contact i {
    margin-right: 10px;
    color: #e67e22;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    color: white;
    font-size: 20px;
    transition: 0.3s;
}

.social-links a:hover {
    color: #e67e22;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
}

/* Destination Detail Page */
.destination-detail {
    padding: 60px 0;
}

.detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.detail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-info {
    padding: 40px;
}

.detail-info h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.detail-tagline {
    color: #e67e22;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.detail-price {
    font-size: 2rem;
    font-weight: bold;
    color: #e67e22;
    margin: 20px 0;
}

.detail-description {
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.info-section {
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
}

.info-section h3 {
    margin-bottom: 15px;
    color: #1a1a2e;
}

.info-section ul {
    margin-left: 20px;
}

.info-section li {
    margin: 8px 0;
    color: #555;
}

.gallery-section {
    margin-top: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

.back-btn {
    display: inline-block;
    background: #6c757d;
    color: white;
    padding: 12px 30px;
    border-radius: 40px;
    text-decoration: none;
    margin-bottom: 30px;
    transition: 0.3s;
}

.back-btn:hover {
    background: #5a6268;
}

.book-now-btn {
    display: inline-block;
    background: #e67e22;
    color: white;
    padding: 15px 40px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: 0.3s;
    margin-top: 20px;
    width: 100%;
    text-align: center;
}

.book-now-btn:hover {
    background: #d35400;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    nav {
        padding: 15px 20px;
    }
    
    .navbar {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px;
        gap: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .navbar.active {
        left: 0;
    }
    
    #menu-icon {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .services-grid,
    .destination-grid,
    .packages-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-container {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .destination-header {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}