/* style.css */

/* CSS Reset (already good - kept as is) */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* CSS Variables for Theming */
:root {
    --primary-color: #C3A55F;
    --secondary-color: #3D3B4A;
    --accent-color: #E87835;
    --background-color: #F7F3E8;
    --text-color: #2C2B2B;
    --white: #FFFFFF;
    --font-family-base: 'Poppins', sans-serif;
    --font-family-title: 'Roboto', sans-serif;
    --base-font-size: 16px;
}

body {
    font-family: var(--font-family-base);
    font-size: var(--base-font-size);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* General Styles */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

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

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

a:hover {
    color: darken(var(--accent-color), 10%);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-weight: 500;
}

.btn-primary {
    background-color: #0599CE;
    color: var(--white);
}

.btn-primary:hover {
    background-color: darken(var(--accent-color), 10%);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #0599CE;
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #0599CE;
    transform: translateY(-2px);
}

.section-title {
    font-family: var(--font-family-title);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--secondary-color);
}

/* Header and Navigation (Using Bootstrap Navbar) */
.navbar {
    padding: 1rem 0; /* Adjusted Padding */
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Hero Section */
.hero {
    color: var(--white);
    text-align: center;
    padding: 4rem 1rem;
    background-image: url(../images/7b159624-9f2a-44cb-bc4d-3534fba062e2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;  /* Ensure the image is centered */
    background-attachment: fixed;
    background-color: hsla(0, 0%, 0%, 0.7);
    background-blend-mode: overlay;
    /* Control background image size */
    background-size: contain; /* Or 'cover' or percentage values based on your design */
    min-height: 400px; /* Adjust the minimum height as needed */

}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* About Section */
.about {
    padding: 3rem 0;
}

.about h3 {
    font-size: 1.75rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #0599CE;
}

.about ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

/* Trips Section */
.trips {
    background-color: var(--background-color);
    padding: 3rem 0;
}

.card {
    border: none;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.card-img-top {
    height: 250px;  /* Adjust as needed */
    object-fit: cover; /* Maintain aspect ratio and fill the space */
    border-radius: 0.25rem;
}

.card-title {
    font-size: 1.5rem;
    color: #0599CE;
    margin-bottom: 0.75rem;
}

.card-text {
    margin-bottom: 1rem;
}
.card-body a.btn { /* Targeting the button specifically inside card-body */
    display: block; /* Full width block */
    width: fit-content; /* Adjust width to content */
    margin-left: auto;   /* Auto left/right margins to center */
    margin-right: auto;
    margin-bottom: 16px; /* Margin below the button */
    text-align: center; /* Center the text */

}
/* Gallery Section */
.gallery {
    background-color: var(--secondary-color);
    padding: 3rem 0;
}

.gallery .section-title {
    color: var(--white);
}

.owl-carousel .item img {
    border-radius: 8px;
    height: 300px;
    object-fit: cover;
}

/* Contact Section */
.contact {
    background-color: #0599CE;
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.contact p {
    margin-bottom: 2rem;
}

.contact-icons {
    display: flex;
    justify-content: center; /* Center items horizontally */
    align-items: center; /*  Center items vertically */
    flex-wrap: wrap;  /* Allow icons to wrap to the next line on smaller screens */
}

.contact-icons a {
    color: var(--white);
    font-size: 2rem;
    margin: 0.5rem; /* Adjusted margin */
    transition: transform 0.3s ease;
}

.contact-icons a:hover {
    transform: scale(1.2);
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    text-align: center;
    padding: 1rem;
}

.footer .container {
  width: 100%; /* Footer container takes full width */
  padding: 1rem;
}
/*.card-body {
    position: relative;
    min-height: 200px; 
}*/

/*.btn-reserver {
position: absolute;
bottom: 10px;
    left: 50%; 
    transform: translateX(-50%); 
}*/
.TA_cdswritereviewlgvi{
    justify-items: anchor-center;
}
}
/* Media Queries (More refined) */

/*  Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .hero-title {
        font-size: 3.5rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .container {
        width: 85%;
    }

    .hero-title {
        font-size: 4rem;
    }

    .card-img-top {
        height: 300px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .container {
        width: 80%;
    }

    .hero-title {
        font-size: 4.5rem;
    }

    .card-img-top {
        height: 350px;
    }

    .owl-carousel .item img {
        height: 350px; /* Adjust gallery image height */
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        width: 75%;
    }

    .hero-title {
        font-size: 5rem;
    }
}

/* Custom adjustments for even larger screens */
@media (min-width: 1400px) {
    .container {
        width: 70%;
    }
    .hero {
        padding: 8rem 1rem;  /* Increase hero padding on very large screens */
    }
}
        .header {
            background: linear-gradient(45deg, #667eea, #764ba2);
            color: white;
            padding: 30px;
            text-align: center;
        }

        .header h1 {
            font-size: 2.5em;
            margin-bottom: 10px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        }

        .content {
            padding: 30px;
        }

        .review-form {
            background: #f8f9fa;
            padding: 30px;
            border-radius: 15px;
            margin-bottom: 40px;
            border: 2px solid #e9ecef;
            transition: all 0.3s ease;
        }

        .review-form:hover {
            border-color: #667eea;
            box-shadow: 0 10px 25px rgba(102, 126, 234, 0.1);
        }

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

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

        .form-group input,
        .form-group textarea,
        .form-group select {
            width: 100%;
            padding: 12px;
            border: 2px solid #dee2e6;
            border-radius: 8px;
            font-size: 16px;
            transition: all 0.3s ease;
        }

        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            outline: none;
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }

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

        .star-rating {
            display: flex;
            gap: 5px;
            margin-bottom: 10px;
        }

        .star {
            font-size: 24px;
            color: #ddd;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .star:hover,
        .star.active {
            color: #ffc107;
            transform: scale(1.1);
        }

        .image-upload {
            position: relative;
            display: inline-block;
            width: 100%;
        }

        .image-upload input[type="file"] {
            display: none;
        }

        .image-upload-btn {
            display: inline-block;
            padding: 12px 20px;
            background: linear-gradient(45deg, #667eea, #764ba2);
            color: white;
            border-radius: 8px;
            cursor: pointer;
            text-align: center;
            transition: all 0.3s ease;
            border: none;
            width: 100%;
        }

        .image-upload-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
        }

        .image-preview {
            margin-top: 15px;
            display: none;
        }

        .image-preview img {
            max-width: 200px;
            max-height: 200px;
            border-radius: 8px;
            border: 2px solid #dee2e6;
        }

        .submit-btn {
            background: linear-gradient(45deg, #28a745, #20c997);
            color: white;
            padding: 15px 30px;
            border: none;
            border-radius: 8px;
            font-size: 18px;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 100%;
        }

        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
        }

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

        .reviews-section h2 {
            color: #495057;
            margin-bottom: 30px;
            text-align: center;
            font-size: 2em;
        }

        .review-item {
            background: white;
            padding: 25px;
            border-radius: 15px;
            margin-bottom: 20px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            border: 1px solid #e9ecef;
            transition: all 0.3s ease;
        }

        .review-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        }

        .review-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            flex-wrap: wrap;
        }

        .reviewer-name {
            font-weight: bold;
            color: #495057;
            font-size: 18px;
        }

        .review-date {
            color: #6c757d;
            font-size: 14px;
        }

        .review-rating {
            color: #ffc107;
            font-size: 18px;
            margin: 10px 0;
        }

        .review-text {
            color: #495057;
            line-height: 1.6;
            margin-bottom: 15px;
        }

        .review-image {
            margin-top: 15px;
        }

        .review-image img {
            max-width: 300px;
            max-height: 300px;
            border-radius: 8px;
            border: 2px solid #e9ecef;
        }

        .alert {
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 20px;
            display: none;
        }

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

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

        @media (max-width: 768px) {
            .container {
                margin: 10px;
                border-radius: 15px;
            }

            .header h1 {
                font-size: 2em;
            }

            .content {
                padding: 20px;
            }

            .review-form {
                padding: 20px;
            }

            .review-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }
        }