/* Global Styles */
:root {
    --primary: #e67e22;
    --secondary: #2196F3;
    --accent: #4CAF50;
    --dark: #1a5276;
    --light: #f9f9f9;
    --secondary-dark: #2c3e50;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background-color: #ffffff;
    /* Removed blue strip, made it white */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    /* Increased from 15px to make the strip "longer"/taller */
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 40px;
    /* Small size */
    height: 40px;
    /* Small size */
    object-fit: contain;
    /* Keeps aspect ratio */
    border-radius: 6px;
    /* Slightly rounded corners */
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-link:hover {
    opacity: 0.9;
}

/* Alternative: Circle logo */
.logo-img.circle {
    border-radius: 50%;
    /* Makes it circular */
    border: 2px solid var(--primary);
    /* Optional border */
}

/* Alternative: Square logo with shadow */
.logo-img.shadow {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    /* Subtle shadow */
}

/* Logo hover effect */
.logo-img:hover {
    transform: scale(1.05);
    /* Slight zoom on hover */
    transition: transform 0.3s ease;
}

/* Logo text alignment */
.logo-text {
    font-size: 26px;
    /* Increased size */
    font-weight: 800;
    /* Much bolder */
    color: #e67e22;
    line-height: 1.2;
    /* Better vertical alignment */
}

.logo-text span {
    color: var(--secondary);
}

/* Mobile responsive logo */
@media (max-width: 768px) {
    .logo-img {
        width: 35px;
        height: 35px;
    }

    .logo-text {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        width: 30px;
        height: 30px;
    }

    .logo-text {
        font-size: 16px;
    }
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: #e67e22;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: rgba(76, 175, 80, 0.1);
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-buttons button {
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.login-btn {
    background: transparent;
    color: #e67e22;
    border: 1px solid var(--primary);
}

.signup-btn {
    background: #e67e22;
    color: white;
}

.login-btn:hover {
    background: rgba(76, 175, 80, 0.1);
}

.signup-btn:hover {
    background: rgba(76, 175, 80, 0.1);
}

.user-welcome {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-name {
    color: var(--primary);
    font-weight: 600;
}

.logout-btn {
    background: transparent;
    color: var(--dark);
    border: 1px solid #ddd;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.logout-btn:hover {
    background: #f5f5f5;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1516426122078-c23e76319801?auto=format&fit=crop&w=1500&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 200px 0;
    /* Increased from 100px to make the hero section taller */
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: #e67e22;
    /* Changed to orange */
    color: #fff;
    /* White text for contrast */
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s;
}

.cta-button:hover {
    background: #e67e22;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Services Section */
.services {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background: white;
    border-radius: 8px;
    object-fit: cover;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

/* Service card images */
.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    /* This ensures images fill the space without distortion */
    display: block;
}

/* Remove or comment out the old .service-img style */

.service-content {
    padding: 20px;
}

.service-content h3 {
    margin-bottom: 10px;
    color: var(--dark);
}

.service-content p {
    color: #666;
    margin-bottom: 15px;
}

.service-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.service-link i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Car Hire Section */
.car-hire {
    background: #2c3e50;
    padding: 80px 0;
}

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

.car-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.car-card:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.car-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    /* This ensures images fill the space without distortion */
    display: block;
}

.car-content {
    padding: 20px;
}

.car-content h3 {
    margin-bottom: 10px;
}

.car-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #666;
}

.car-price {
    font-weight: bold;
    color: var(--primary);
    font-size: 20px;
    margin-bottom: 15px;
}

.book-btn {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-weight: 500;
    transition: background 0.3s;
}

.book-btn:hover {
    background: #0b7dda;
}

/* Stay With Us Section Styles */
.stay-with-us-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

.stay-with-us-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 20px;
    border-bottom: 3px solid #e67e22;
}

.page-header h1 {
    color: #e67e22;
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.page-header .subtitle {
    color: #7f8c8d;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Accommodation Grid Container */
.accommodation-grid-container {
    margin-bottom: 60px;
}

/* Accommodation Grid */
.accommodation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 35px;
    margin-bottom: 40px;
}

.accommodation-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.card-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    flex-shrink: 0;
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #e67e22, #d85a0f);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(230, 126, 34, 0.3);
}

.card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 15px;
}

.card-title {
    color: #2c3e50;
    font-size: 1.35rem;
    margin: 0;
    font-weight: 700;
}

.card-price {
    color: #e67e22;
    font-size: 1.4rem;
    font-weight: 800;
    white-space: nowrap;
}

.card-price span {
    font-size: 0.85rem;
    color: #7f8c8d;
    font-weight: 500;
    display: block;
}

.card-location {
    color: #2196F3;
    margin-bottom: 15px;
    font-size: 0.95rem;
    font-weight: 500;
}

.card-location i {
    margin-right: 8px;
    color: #e67e22;
}

.card-description {
    color: #5d6d7e;
    margin-bottom: 18px;
    line-height: 1.7;
    flex-grow: 1;
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
    margin-top: auto;
    padding-top: 15px;
}

.feature-tag {
    background: linear-gradient(135deg, #f0f8ff, #e8f4fd);
    color: #2196F3;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid #b3e5fc;
}

.card-buttons {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.btn {
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: #e67e22;
    color: white;
    flex: 1;
}

.btn-primary:hover {
    background: #d35400;
}

.btn-secondary {
    background: white;
    color: #3498db;
    border: 2px solid #3498db;
}

.btn-secondary:hover {
    background: #3498db;
    color: white;
}

/* Booking Widget */
.booking-widget-section {
    background: linear-gradient(135deg, #1a5276 0%, #2c3e50 100%);
    border-radius: 15px;
    padding: 40px;
    color: white;
    margin-bottom: 60px;
}

.booking-widget-section h2 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 2rem;
}

.booking-subtitle {
    text-align: center;
    color: #bdc3c7;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.booking-widget {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.booking-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #2c3e50;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-control {
    padding: 12px 15px;
    border: 2px solid #ecf0f1;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #3498db;
}

.booking-widget-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-info {
    color: #2c3e50;
    font-size: 0.95rem;
}

.contact-info strong {
    color: #e67e22;
}

/* Why Book Section */
.why-book-section {
    margin-bottom: 60px;
}

.section-title {
    text-align: center;
    color: #2c3e50;
    font-size: 2.2rem;
    margin-bottom: 40px;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: #e67e22;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: #e67e22;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

.benefit-card h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.benefit-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* Location Highlights */
.location-highlights {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 60px;
}

.location-card {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    height: 300px;
}

.location-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.location-card:hover .location-image {
    transform: scale(1.05);
}

.location-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 25px;
}

.location-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .stay-with-us-section {
        padding: 40px 0;
    }

    .accommodation-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card-image {
        height: 200px;
    }

    .card-title {
        font-size: 1.15rem;
    }

    .card-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .booking-form {
        grid-template-columns: 1fr;
    }

    .booking-widget-footer {
        flex-direction: column;
        text-align: center;
    }

    .tab-btn {
        padding: 12px 20px;
        font-size: 1rem;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .location-card {
        min-width: 100%;
    }
}

/* Animation for tab content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Us Section */
.about {
    padding: 80px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: #666;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

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

.team-card {
    background: var(--light);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s;
}

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

.team-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
    font-weight: bold;
}

.team-card h3 {
    margin-bottom: 10px;
    color: var(--dark);
}

.team-card p {
    color: #666;
    font-size: 14px;
}

/* Contact Page Section */
.contact {
    padding: 80px 0;
    background: #2c3e50;
}

.contact-form {
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 24px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background 0.3s;
    width: 100%;
}

.submit-btn:hover {
    background: #3d8b40;
}

.submit-btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

/* Message Styles */
.message {
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
    display: none;
}

.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Forms */
.form-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    max-width: 500px;
    margin: 50px auto;
}

.form-title {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary);
}

.form-footer {
    text-align: center;
    margin-top: 20px;
}

.form-footer a {
    color: var(--primary);
    text-decoration: none;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

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

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

.footer-column ul {
    list-style: none;
}

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

.footer-column ul li a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: white;
}

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

.social-links a:hover {
    background: var(--primary);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bbb;
    font-size: 14px;
}

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

.modal-content {
    background: white;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Responsive */
@media (max-width: 992px) {

    .contact-content,
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
    }

    .logo {
        margin-bottom: 15px;
    }

    nav ul {
        margin-bottom: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 5px 10px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .user-welcome {
        flex-direction: column;
        gap: 10px;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-info,
    .contact-form {
        padding: 20px;
    }
}