/* Variables for consistent styling */
:root {
    --primary-color: #3f51b5; /* A shade of blue */
    --secondary-color: #607d8b; /* A shade of grey */
    --accent-color: #ffc107; /* A subtle accent, could be lighter blue or deeper grey */
    --text-color-dark: #333;
    --text-color-light: #f4f4f4;
    --background-light: #f8f8f8;
    --background-dark: #2c3e50; /* Dark grey for contrast */
    --border-radius: 8px;
    --transition-speed: 0.3s ease;

    /* Google Fonts */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color-dark);
    background-color: #fff;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: 0.8em;
    color: var(--primary-color);
}

h1 {
    font-size: 3em;
    text-align: center;
}

h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 1em;
    color: var(--secondary-color);
}

h3 {
    font-size: 1.8em;
    color: var(--primary-color);
}

p {
    margin-bottom: 1em;
}

.section-title {
    padding-bottom: 15px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 2em;
    color: #555;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: background-color var(--transition-speed), transform var(--transition-speed);
    text-align: center;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-color-light);
}

.btn-primary:hover {
    background-color: #4a63ce; /* Slightly darker blue */
    transform: translateY(-2px);
}

/* Section Padding & Backgrounds */
.section-padding {
    padding: 80px 0;
}

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

/* Header & Navigation */
.header {
    background-color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo img {
    height: 150px; /* As per requirement */
    display: block;
}

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

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

.main-nav ul li a {
    text-decoration: none;
    color: var(--text-color-dark);
    font-weight: 600;
    font-size: 1.1em;
    padding: 5px 0;
    position: relative;
    transition: color var(--transition-speed);
}

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

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

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

/* Hamburger Menu for Mobile */
.hamburger-menu {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001; /* Above navigation */
}

.hamburger-menu .bar {
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 10px;
    transition: all var(--transition-speed);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh; /* viewport height */
    min-height: 500px;
    background: url('tiles/WhatsApp%20Image%202026-04-09%20at%2016.50.50.jpeg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-color-light);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Light overlay */
    z-index: 1;
}

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

.hero-title {
    font-size: 4.5em;
    margin-bottom: 0.2em;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-tagline {
    font-size: 1.8em;
    margin-bottom: 1.5em;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero-content .btn {
    font-size: 1.2em;
    padding: 15px 35px;
}

/* About Section */
.about-section p {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 1.1em;
}

/* Services Section */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 2em;
}

.service-item {
    background-color: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

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

.service-item .service-icon {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 3.5em;
}

.service-item h3 {
    margin-bottom: 15px;
    font-size: 1.6em;
    color: var(--secondary-color);
}

.service-item p {
    font-size: 1em;
    color: #666;
}


/* Contact Section */
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 2em;
    text-align: center;
}

.contact-info, .social-media {
    flex: 1;
    min-width: 280px;
    max-width: 450px;
    padding: 30px;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.contact-info h3, .social-media h3 {
    margin-bottom: 25px;
    color: var(--secondary-color);
    font-size: 1.8em;
}

.contact-info p {
    font-size: 1.1em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info p i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.3em;
}

.contact-info p a {
    color: var(--text-color-dark);
    text-decoration: none;
    transition: color var(--transition-speed);
}

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

.social-media a {
    color: var(--secondary-color);
    margin: 0 15px;
    font-size: 2.5em;
    transition: color var(--transition-speed), transform var(--transition-speed);
}

.social-media a:hover {
    color: var(--primary-color);
    transform: translateY(-5px);
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 30px;
}

.gallery-item {
    display: block;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* Form Section */
.form-section {
    background-color: var(--background-light);
}

/* Footer */
.footer {
    background-color: var(--background-dark);
    color: var(--text-color-light);
    text-align: center;
    padding: 40px 0;
    font-size: 0.9em;
}

.footer p {
    margin: 0.5em 0;
}

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

.footer a:hover {
    color: #fff;
}


/* Mobile Responsiveness */
@media (max-width: 992px) {
    .main-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 999;
        padding: 15px 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
    }

    .main-nav.nav-open {
        display: flex;
        max-height: 300px; /* Adjust as needed for menu content */
    }

    .main-nav ul {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .main-nav ul li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }

    .main-nav ul li a {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }

    .main-nav ul li:last-child a {
        border-bottom: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .hero-title {
        font-size: 3em;
    }

    .hero-tagline {
        font-size: 1.4em;
    }

    .section-title {
        font-size: 2em;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        flex-direction: column;
        align-items: center;
    }

    .contact-info, .social-media {
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 576px) {
    .header {
        padding: 10px 0;
    }

    .logo img {
        height: 100px; /* Smaller logo on very small screens */
    }

    .hero-title {
        font-size: 2.5em;
    }

    .hero-tagline {
        font-size: 1.2em;
    }

    .hero-content .btn {
        font-size: 1em;
        padding: 10px 25px;
    }

    .section-padding {
        padding: 60px 0;
    }

    h2 {
        font-size: 1.8em;
    }

    h3 {
        font-size: 1.5em;
    }
    
    .contact-info p {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-info p i {
        margin-right: 0;
        margin-bottom: 10px;
    }
}