/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a5276;
    --secondary-color: #195276;
    --accent-color: #2ecc71;
    --light-color: #f9f9f9;
    --dark-color: #333;
    --text-color: #444;
    --border-radius: 5px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

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

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

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Section styles */
section {
    padding: 80px 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    font-size: 1.1rem;
    color: #777;
    max-width: 700px;
    margin: 0 auto;
}

/* Header styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

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

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
}

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

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

nav ul li a {
    font-weight: 600;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/hero-bg.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0;
}

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

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

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

/* About section */
.about {
    background-color: white;
}

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

.about-img img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.about-content h2 {
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 15px;
}

.feature-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

/* Services section */
.services {
    background-color: #f5f5f5;
}

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

.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.service-img {
    height: 200px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-price {
    margin-top: 15px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.service-price p {
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
}

/* Promotions section */
.promotions {
    background-color: white;
}

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

.promo-card {
    border: 2px dashed var(--secondary-color);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.promo-title {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.promo-subtitle {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.promo-details {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #777;
}

/* Gallery section */
.gallery {
    background-color: #f5f5f5;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Location section */
.location {
    background-color: white;
}

.location-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.map-container {
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.location-info {
    padding: 20px;
}

.location-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.location-detail {
    display: flex;
    margin-bottom: 20px;
}

.location-detail i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 15px;
    margin-top: 5px;
}

.location-detail div p {
    margin-bottom: 5px;
}

/* Contact section */
.contact {
    background-color: #f5f5f5;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    padding: 20px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-detail {
    display: flex;
    margin-bottom: 20px;
}

.contact-detail i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 15px;
    margin-top: 5px;
}

.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
}

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

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

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

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
}

.footer-about p {
    margin-bottom: 20px;
}

.footer-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: white;
}

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

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

.footer-links ul li a {
    color: #bbb;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.show {
    opacity: 1;
    transform: translateY(0);
}
/* FORM */
	.error {
		color: red;
		font-size: 0.9em;
		margin-top: 5px;
	}
	.success-message {
		color: green;
		text-align: center;
		margin-bottom: 20px;
		display: none;
	}
	#contactForm .message-success {
		color: green;
		padding: 10px;
		border: 1px solid green;
		margin-top: 20px;
		display: none;
	}
	#contactForm .message-error {
		color: #f16f6f;
		padding: 10px;
		border: 1px solid #f16f6f;
		margin-top: 20px;
		display: none;
		font-size: 14px;
	}
	.btn-submit:disabled,
	.btn-submit[disabled]{
	  border: 1px solid #999999;
	  background-color: #cccccc;
	  color: #666666;
	}
	#loading-form{display:none;}
/* Responsive styles */
@media screen and (max-width: 992px) {
    .about-container,
    .location-container,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .about-img {
        order: -1;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
}

@media screen and (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background-color: white;
        transition: var(--transition);
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 60px 0;
    }
}

/* Reviews Section - Carousel Implementation */
.reviews {
    background-color: white;
}

/* This is the viewport for the carousel, it hides the overflowing review cards */
.reviews-carousel-wrapper {
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    padding: 10px 0; /* Add some vertical padding */
}

/* This container holds all the review cards and will be moved with transform */
.reviews-container {
    display: flex; /* Key for horizontal layout */
    /* The transition is added via JS to allow for silent jumps */
}

.review-card {
    background-color: white;
    border-radius: 10px; /* Rounded corners */
    padding: 30px;
    /* Each card is 1/3 of the viewport width, accounting for margins */
    flex: 0 0 calc(33.333% - 20px);
    box-sizing: border-box;
    margin: 0 10px; /* Horizontal margin to create space between cards */

    /* Efficient shading */
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    
    border-left: 5px solid var(--secondary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.review-card .review-stars {
    color: #f39c12;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.review-card .review-stars i {
    margin-right: 3px;
}

.review-card .review-comment {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
}

.review-card .review-comment::before {
    content: '"';
}
.review-card .review-comment::after {
    content: '"';
}

.review-card .reviewer-name {
    font-weight: 600;
    color: var(--primary-color);
    text-align: right;
}

.review-card .reviewer-name::before {
    content: "— ";
}

/* Styling for the navigation buttons */
.reviews-navigation {
    text-align: center;
    margin-top: 30px;
}

.review-nav-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%; /* Makes them circular */
    width: 50px;
    height: 50px;
    font-size: 1.2rem; /* Adjust icon size */
    cursor: pointer;
    transition: var(--transition);
    margin: 0 15px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--box-shadow);
}

.review-nav-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.review-nav-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.7;
}

/* Responsive adjustments for carousel */
@media screen and (max-width: 992px) {
    .review-card {
        /* Show 2 cards on tablets */
        flex: 0 0 calc(50% - 20px);
    }
}

@media screen and (max-width: 680px) {
    .review-card {
        /* Show 1 card on mobile */
        flex: 0 0 calc(100% - 20px);
    }
}