/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Base Styles */
:root {
    --primary-color: #ff5722;
    --secondary-color: #2196f3;
    --dark-color: #212121;
    --light-color: #f5f5f5;
    --grey-color: #757575;
    --white-color: #ffffff;
    --transition: all 0.3s ease;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 5px;
}

/* Accessibility - Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white-color);
    overflow-x: hidden;
}

ul {
    list-style: none;
}

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

button, .btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 12px 30px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

button:before, .btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    z-index: -1;
}

button:hover:before, .btn:hover:before {
    width: 100%;
}

button:hover, .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

button:active, .btn:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

section {
    padding: 80px 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    font-size: 36px;
}

.section-heading:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

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

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 15px 5%;
    background-color: var(--dark-color);
}

.navbar.scrolled .logo h1,
.navbar.scrolled .nav-links ul li a {
    color: var(--white-color);
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    transition: var(--transition);
}

.logo h1 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo h1 a:hover {
    color: var(--accent-color);
}

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

.nav-links ul li a {
    font-weight: 500;
    font-size: 16px;
    position: relative;
}

.nav-links ul li a:hover {
    color: var(--primary-color);
}

.nav-links ul li a.active {
    color: var(--primary-color);
}

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

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

.hamburger {
    display: none;
    cursor: pointer;
    margin-left: auto;
    border-radius: 5px;
    padding: 15px;
    transition: var(--transition);
}

.hamburger:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.navbar.scrolled .hamburger:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--dark-color);
    transition: var(--transition);
}

.navbar.scrolled .hamburger .bar {
    background-color: var(--white-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/hero-bg.webp') no-repeat center center/cover;
    /* Fallback background if image is missing */
    background-color: var(--dark-color);
    color: var(--white-color);
    position: relative;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* Features Section */
.features {
    background-color: var(--light-color);
}

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

.feature {
    background-color: var(--white-color);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature i {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
    position: relative;
}

.feature i:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background-color: rgba(255, 87, 34, 0.1);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.feature h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

/* Testimonials */
.testimonial-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.testimonial:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-img {
    height: 250px;
    overflow: hidden;
    /* Fallback background if image is missing */
    background-color: rgba(255, 87, 34, 0.1);
    flex: 0 0 auto;
}

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

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

.testimonial-content {
    padding: 30px;
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-content h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.stars {
    color: var(--primary-color);
}

/* Call To Action */
.cta {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../img/cta-bg.webp') no-repeat center center/cover;
    /* Fallback background if image is missing */
    background-color: var(--primary-color);
    color: var(--white-color);
    text-align: center;
    padding: 100px 0;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* Page Header */
.page-header {
    height: 300px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/page-header.webp') no-repeat center center/cover;
    /* Fallback background if image is missing */
    background-color: var(--dark-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
    padding-top: 80px;
}

.page-header h1 {
    font-size: 42px;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease;
}

/* About Page */
.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    align-items: center;
}

.about-image {
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.about-image img {
    transition: var(--transition);
}

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

.about-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.about-text h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Team Section */
.team-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.member-img {
    height: 300px;
    overflow: hidden;
    /* Fallback background if image is missing */
    background-color: rgba(255, 87, 34, 0.1);
}

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

.team-member:hover .member-img img {
    transform: scale(1.1);
}

.team-member h3 {
    font-size: 20px;
    margin: 20px 0 5px;
}

.team-member p {
    color: var(--grey-color);
    margin-bottom: 15px;
}

.team-member .social-icons {
    padding: 0 0 20px;
}

.team-member .social-icons a {
    margin: 0 8px;
    color: var(--dark-color);
}

.team-member .social-icons a:hover {
    color: var(--primary-color);
}

/* Gallery Page */
.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    background-color: transparent;
    color: var(--dark-color);
    border: 2px solid var(--primary-color);
    padding: 8px 20px;
    box-shadow: none;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--white-color);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    height: 250px;
    /* Fallback background if image is missing */
    background-color: rgba(255, 87, 34, 0.1);
}

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

/* Add a fallback for missing images */
.gallery-item img:not([src]), 
.gallery-item img[src=""], 
.gallery-item img[src="img/gallery-1.webp"]:not(:has(img)),
.gallery-item img[src="img/gallery-2.webp"]:not(:has(img)),
.gallery-item img[src="img/gallery-3.webp"]:not(:has(img)),
.gallery-item img[src="img/gallery-4.webp"]:not(:has(img)),
.gallery-item img[src="img/gallery-5.webp"]:not(:has(img)),
.gallery-item img[src="img/gallery-6.webp"]:not(:has(img)),
.gallery-item img[src="img/gallery-7.webp"]:not(:has(img)),
.gallery-item img[src="img/gallery-8.webp"]:not(:has(img)),
.gallery-item img[src="img/gallery-9.webp"]:not(:has(img)) {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 87, 34, 0.1);
    position: relative;
}

.gallery-item img:not([src])::after, 
.gallery-item img[src=""]::after {
    content: "Image Not Found";
    position: absolute;
    color: var(--dark-color);
    font-size: 16px;
    font-weight: 500;
}

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

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

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

.gallery-overlay h3 {
    font-size: 20px;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.gallery-overlay p {
    transform: translateY(20px);
    transition: all 0.4s ease 0.1s;
}

.gallery-item:hover .gallery-overlay h3,
.gallery-item:hover .gallery-overlay p {
    transform: translateY(0);
}

/* Contact Page */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info {
    background-color: var(--primary-color);
    padding: 40px;
    color: var(--white-color);
    border-radius: var(--border-radius);
}

.contact-info h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 24px;
    margin-right: 20px;
    margin-top: 5px;
}

.info-item h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-info .social-icons {
    margin-top: 30px;
}

.contact-info .social-icons a {
    color: var(--white-color);
    font-size: 20px;
    margin-right: 15px;
    transition: var(--transition);
}

.contact-info .social-icons a:hover {
    color: var(--dark-color);
    transform: translateY(-3px);
}

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

.contact-form h2 {
    font-size: 28px;
    margin-bottom: 30px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    transition: var(--transition);
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 87, 34, 0.2);
}

.submit-btn {
    width: 100%;
    margin-top: 20px;
}

/* Map */
.map-container {
    margin-top: 50px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

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

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-info h3,
.footer-links h3,
.footer-social h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-info h3:after,
.footer-links h3:after,
.footer-social h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-info p {
    margin-bottom: 15px;
}

.footer-info p i {
    margin-right: 10px;
    color: var(--primary-color);
}

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

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

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-social .social-icons a {
    color: var(--white-color);
    font-size: 20px;
    margin-right: 15px;
    transition: var(--transition);
}

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

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media screen and (max-width: 991px) {
    .hero-content h1 {
        font-size: 40px;
    }
    
    .section-heading {
        font-size: 32px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .navbar {
        padding: 15px 5%;
        position: sticky;
        top: 0;
        width: 100%;
        z-index: 1000;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white-color);
        transition: var(--transition);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 999;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    /* Fix for menu when scrolled */
    .navbar.scrolled .nav-links {
        top: 60px; /* Adjust based on the smaller navbar height when scrolled */
        background-color: var(--dark-color);
    }
    
    .navbar.scrolled .nav-links ul li a {
        color: var(--white-color);
    }
    
    .navbar.scrolled .nav-links ul li a:hover,
    .navbar.scrolled .nav-links ul li a.active {
        color: var(--primary-color);
    }
    
    .nav-links ul {
        flex-direction: column;
        text-align: center;
        width: 100%;
        padding: 20px 0;
    }
    
    .nav-links ul li {
        margin: 15px 0;
        width: 100%;
    }
    
    .nav-links ul li a {
        display: block;
        padding: 10px 0;
        font-size: 18px;
        font-weight: 600;
    }
    
    .hamburger {
        display: block;
        position: relative;
        z-index: 1001;
        margin-right: 10px;
        border: 1px solid transparent;
        padding: 10px 15px;
        touch-action: manipulation;
    }
    
    .navbar.scrolled .hamburger {
        border-color: rgba(255, 255, 255, 0.2);
    }
    
    .hamburger .bar {
        margin: 6px 0;
        width: 30px;
        height: 3px;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .feature-container,
    .testimonial-container,
    .about-content,
    .team-container {
        grid-template-columns: 1fr;
    }
    
    .page-header {
        height: 200px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .testimonial-container {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .testimonial-img {
        height: 300px;
    }
}

@media screen and (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .section-heading {
        font-size: 28px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .gallery-item {
        height: 200px;
    }
    
    .contact-form,
    .contact-info {
        padding: 30px;
    }
} 