/*
========================================
  TABLE OF CONTENTS
========================================

1.  VARIABLES
2.  GLOBAL STYLES
3.  LAYOUT & CONTAINER
4.  HEADER & NAVIGATION
5.  HERO SECTION
6.  SECTION STYLES
7.  FOOTER
8.  UTILITIES & HELPERS
9.  RESPONSIVE DESIGN

========================================
*/

/* 1. VARIABLES */
:root {
    --primary-color: #1d3557;
    --secondary-color: #457b9d;
    --accent-color: #e63946;
    --light-color: #f1faee;
    --dark-color: #212529;
    --text-color: #333;
    --border-color: #dee2e6;

    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Roboto', sans-serif;

    --header-height: 80px;
    --border-radius: 8px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition-speed: 0.3s ease;
}

/* 2. GLOBAL STYLES */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.3;
}

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

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

ul {
    list-style: none;
}

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

/* 3. LAYOUT & CONTAINER */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 80px 0;
}

.section.bg-light {
    background-color: var(--light-color);
}

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

.section-subtitle {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.accent-line {
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* 4. HEADER & NAVIGATION */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #fff;
    box-shadow: var(--box-shadow);
    transition: var(--transition-speed);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.logo img {
    height: 60px;
    width: auto;
    max-width: 200px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition-speed);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 22px;
    position: relative;
}

.mobile-menu-toggle span, 
.mobile-menu-toggle span::before, 
.mobile-menu-toggle span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition-speed);
}

.mobile-menu-toggle span {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-toggle span::before {
    top: -10px;
}

.mobile-menu-toggle span::after {
    top: 10px;
}

/* 5. HERO SECTION */
.hero-section {
    padding-top: var(--header-height);
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: #fff;
    text-align: center;
    position: relative;
}

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

.hero-subheading {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--light-color);
}

.hero-contact-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.hero-contact-info span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn {
    display: inline-block;
    padding: 18px 40px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: var(--transition-speed);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
    border: 2px solid var(--accent-color);
}

.hero-content .btn {
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: var(--primary-color);
    font-weight: 700;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color);
}

/* 6. ABOUT SECTION */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    max-width: 100%;
    border-radius: var(--border-radius);
}

.about-content h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-top: 20px;
    margin-bottom: 10px;
}

.about-content h3:first-child {
    margin-top: 0;
}

.about-content p {
    color: var(--text-color-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

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

.service-card {
    background-color: #fff;
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    cursor: pointer;
}

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

.service-image {
    height: 200px;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

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

.service-card p {
    color: var(--text-color-light);
    line-height: 1.7;
}

/* VIDEOS SECTION */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    align-items: center;
}

.video-wrapper {
    border-radius: 12px;
    overflow: hidden;
    background-color: #000;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-wrapper iframe,
.video-wrapper video {
    width: 100%;
    height: 100%;
    border: none;
    object-fit: contain; /* Respects original aspect ratio */
}

@media (max-width: 768px) {
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .video-wrapper {
        height: 100vh; /* Full viewport height on mobile too */
    }
}

/* FACEBOOK FEED */
.facebook-feed-wrapper {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--box-shadow);
}

.facebook-feed-wrapper h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
}

.facebook-feed-wrapper .fb-page {
    margin: 0 auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    text-align: center;
}

/* SERVICE MODAL */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
    padding-top: 60px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 30px;
    border: 1px solid #888;
    width: 80%;
    max-width: 900px;
    border-radius: var(--border-radius);
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.close-modal-btn {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal-btn:hover,
.close-modal-btn:focus {
    color: #000;
    text-decoration: none;
}

#modal-title {
    margin-bottom: 15px;
    color: var(--primary-color);
}

#modal-description {
    margin-bottom: 25px;
    line-height: 1.7;
}

.modal-gallery {
    width: 100%;
    height: 450px;
    border-radius: var(--border-radius);
}

.modal-gallery .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-gallery .swiper-slide img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.swiper-slide .slide-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 15px;
    text-align: center;
    font-size: 1rem;
    box-sizing: border-box;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal-gallery .swiper-button-next::after, .modal-gallery .swiper-button-prev::after {
    color: var(--primary-color);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
    margin-top: 15px;
}

/* 8. TESTIMONIALS SECTION */
.testimonials-slider {
    max-width: 900px;
    margin: 0 auto;
    padding: 10px;
}

.testimonial-card {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-stars {
    color: #fca311;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-text {
    color: var(--text-color-light);
    line-height: 1.8;
    font-style: italic;
    flex-grow: 1;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
    text-align: right;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color) !important;
}

/* 9. CONTACT SECTION */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

.contact-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-right: 20px;
    margin-top: 5px;
    width: 30px;
    text-align: center;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.contact-item p, .contact-item a {
    color: var(--text-color-light);
    line-height: 1.7;
    text-decoration: none;
    transition: color var(--transition-speed);
}

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

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

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-right {
        gap: 20px;
    }
}

/* 10. HERO SLIDESHOW */
.hero {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slider .swiper-slide {
    background-size: cover;
    background-position: center;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-logo {
    margin-bottom: 30px;
    max-width: 350px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    display: block;
    margin-left: auto;
    margin-right: auto;
    background-color: rgba(255, 255, 255, 0.4);
    padding: 20px;
    border-radius: var(--border-radius);
}

/* 10. FOOTER */
.footer {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 30px 0;
    text-align: center;
}

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

.footer p {
    margin: 0;
}

.social-links a {
    color: #fff;
    font-size: 1.2rem;
    margin-left: 15px;
    transition: color var(--transition-speed);
}

.social-links a:hover {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        justify-content: center;
    }

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

    .social-links a {
        margin: 0 10px;
    }
}

/* 8. UTILITIES & HELPERS */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    box-shadow: var(--box-shadow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-speed);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* 9. RESPONSIVE DESIGN */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .logo img {
        height: 50px;
        max-width: 150px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-logo {
        max-width: 280px;
        margin-bottom: 20px;
    }

    .hero-contact-info {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: #fff;
        padding: 20px;
        box-shadow: var(--box-shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-speed);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .mobile-menu-toggle.active span {
        background-color: transparent;
    }

    .mobile-menu-toggle.active span::before {
        transform: rotate(45deg);
        top: 0;
    }

    .mobile-menu-toggle.active span::after {
        transform: rotate(-45deg);
        top: 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

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