/* Variables */
:root {
    --primary-color: #d32f2f; /* Red from logo/theme */
    --secondary-color: #f57c00; /* Orange accent */
    --dark-color: #212121;
    --light-color: #f5f5f5;
    --white: #ffffff;
    --text-color: #333333;
    --font-primary: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
}

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

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

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

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

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

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

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color); /* Matches hero button red */
    color: var(--white);
}

.btn-primary:hover {
    background-color: #b71c1c;
}

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

.btn-secondary:hover {
    background-color: #ef6c00;
}

.btn-outline {
    border-color: var(--white);
    color: var(--white);
}

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

.text-center { text-align: center; }
.text-white { color: var(--white); }
.bg-light { background-color: var(--light-color); }
.bg-dark { background-color: var(--dark-color); }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1.5rem; }

/* Header */
.site-header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.5rem 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    border-radius: 50%;
}

.main-nav {
    display: none; /* Hidden on mobile by default */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow);
    padding: 1rem 0;
    transition: all 0.3s ease-in-out;
}

.main-nav.active {
    display: block;
    animation: slideDown 0.3s ease-out forwards;
}

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

.main-nav ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Left align for mobile */
    padding-left: 2rem; /* Space on the left */
}

.main-nav li {
    margin: 0.8rem 0;
    width: 100%;
}

.main-nav a {
    display: block;
    width: 100%;
    font-weight: 600;
    color: var(--dark-color);
    padding: 5px 0;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
    padding: 0.5rem; /* Increase touch target */
}

.language-selector {
    display: flex;
    align-items: center;
    margin-left: 1rem;
    background: #f0f0f0;
    border-radius: 20px;
    padding: 2px;
}

.lang-item {
    display: flex;
    align-items: center;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: #666;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.separator {
    display: none;
}

/* Hero Section */
.hero {
    position: relative;
    height: 60vh;
    background-image: url('../images/Banner.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-buttons .btn {
    margin: 0.5rem;
}

/* Grids */
.grid-2, .grid-3, .grid-4 {
    display: grid;
    gap: 2rem;
}

.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }

/* Cards */
.card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
}

/* Testimonials */
.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
}

.stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* Gallery Preview */
.gallery-thumb {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

/* FAQ Accordion */
.accordion-item {
    border-bottom: 1px solid #ddd;
}

.accordion-header {
    width: 100%;
    padding: 1rem;
    text-align: left;
    background: none;
    border: none;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header::after {
    content: '+';
    font-size: 1.2rem;
}

.accordion-header.active::after {
    content: '-';
}

.accordion-content {
    display: none;
    padding: 1rem;
    background: #f9f9f9;
}

.accordion-content.active {
    display: block;
}

/* Contact Section */
.contact {
    background-color: #333;
    color: #fff;
}

.contact h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.contact address p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact address i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.contact a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact a:hover {
    color: var(--primary-color);
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Footer */
.site-footer {
    background-color: #222;
    color: #ccc;
    padding: 40px 0 20px;
    font-size: 0.9rem;
}

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

.site-footer a:hover {
    color: var(--primary-color);
}

/* Back to Top Button */
#backToTop {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transition: background-color 0.3s, transform 0.3s;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 20px;
}

#backToTop:hover {
    background-color: #b71c1c; /* Darker shade of primary red */
    transform: translateY(-3px);
}

/* Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.popup-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Desktop Media Queries */
@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }

    .main-nav {
        display: block;
        position: static;
        width: auto;
        background: none;
        box-shadow: none;
        padding: 0;
    }

    .main-nav ul {
        flex-direction: row;
    }

    .main-nav li {
        margin: 0 1rem;
    }

    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }

    h1 { font-size: 3.5rem; }
    .hero { height: 70vh; }

    /* Enforce 2-column layout for About and Contact sections */
    .about .row, .contact .row {
        display: flex;
        flex-wrap: wrap;
    }
    
    .about .col-md-6, .contact .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 0 15px;
    }
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2001;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

.lightbox-content, .lightbox-caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

.close-lightbox {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-lightbox:hover,
.close-lightbox:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Gallery Navigation Arrows */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    background-color: rgba(0, 0, 0, 0.4); /* Ensure visibility */
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* New Footer Layout */
.site-footer {
    background-color: #1a1a1a; /* Dark background */
    color: #ffffff;
    padding: 60px 0 20px;
    font-family: var(--font-primary);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo-img {
    width: 120px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 50%; /* Circular logo as in design */
    border: 2px solid #c5a059; /* Gold border */
}

.footer-col h3 {
    color: #c5a059; /* Gold color for headings */
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-links-list {
    list-style-type: disc; /* Add bullets */
    padding-left: 20px; /* Indent for bullets */
}

.footer-links-list li {
    margin-bottom: 12px;
    color: #c5a059; /* Bullet color (gold) */
}

.footer-links-list a {
    color: #c5a059; /* Gold text color to match image */
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

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

.footer-contact-info p {
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.6;
}

.footer-social {
    margin-top: 40px;
}

.footer-social h3 {
    color: #c5a059;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.social-icons-row {
    display: flex;
    gap: 15px;
}

.social-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-icon-btn:hover {
    background-color: #c5a059;
    color: #000;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #ccc;
}

.footer-bottom a {
    color: #c5a059;
    text-decoration: none;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo-col {
        align-items: center;
    }
    
    .social-icons-row {
        justify-content: center;
    }
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #c62828;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: none;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

#back-to-top:hover {
    background-color: #b71c1c;
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

#back-to-top:active {
    transform: translateY(-2px);
}

/* Responsive Back to Top Button */
@media (max-width: 768px) {
    #back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 18px;
    }
}
