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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Navigation Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    text-decoration: none;
    position: relative;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.logo:hover {
    color: #3498db;
    transform: translateY(-2px) scale(1.05);
    text-shadow: 2px 2px 15px rgba(52, 152, 219, 0.3);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links li {
    position: relative;
    margin: 0;
    perspective: 1000px;
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: inline-block;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(52, 152, 219, 0.1);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 4px;
    z-index: -1;
}

.nav-links a:hover {
    color: #3498db;
    transform: translateY(-2px);
}

.nav-links a:hover::before {
    transform: scaleX(1);
}

.nav-links a.active {
    color: #3498db;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 4px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 0;
    padding: 80px 20px 20px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                url('https://images.unsplash.com/photo-1600585154526-990dced4db0d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
    padding: 20px;
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 5%;
    }

    .hero {
        padding-top: 120px;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 1rem 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

/* About Section */
.about {
    padding: 100px 0;
    background: #f9f9f9;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

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

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #555;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: white;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.service-card {
    text-align: left;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: #3498db;
}

.service-card i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 1.5rem;
    display: block;
    transition: all 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.2);
    color: #2980b9;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
}

/* Services Gallery Styles */
.services-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.service-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
}

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

.service-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

.service-title {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to bottom, rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.7));
    color: white;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 2;
}

.service-title i {
    font-size: 1.5rem;
}

.service-title h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 500;
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(52, 152, 219, 0.2), rgba(44, 62, 80, 0.8));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

.service-overlay i {
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.service-content {
    padding: 2rem;
    background: white;
}

.service-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .services-gallery {
        grid-template-columns: 1fr;
    }

    .service-image {
        height: 250px;
    }

    .service-title {
        padding: 0.8rem;
    }

    .service-title i {
        font-size: 1.2rem;
    }

    .service-title h3 {
        font-size: 1.1rem;
    }

    .service-overlay {
        display: none;
    }
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #f9f9f9;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-item i {
    font-size: 1.5rem;
    color: #3498db;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid #eee;
    border-radius: 8px;
    font-family: inherit;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    background: white;
    position: relative;
    transform-origin: left top;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    outline: none;
    transform: scale(1.02);
}

.contact-form input:hover,
.contact-form textarea:hover {
    border-color: #3498db;
    transform: scale(1.01);
}

/* Button Styles */
.cta-button,
.submit-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    border: none;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
    z-index: 1;
}

.cta-button::before,
.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #2980b9, #3498db);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: -1;
}

.cta-button:hover,
.submit-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
    letter-spacing: 1px;
}

.cta-button:hover::before,
.submit-button:hover::before {
    left: 0;
}

.cta-button:active,
.submit-button:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
}

/* Page Content Styles */
.page-content {
    padding-top: 80px;
    min-height: calc(100vh - 200px);
}

.page-content h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

/* Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
}

/* Home Highlights */
.home-highlights {
    padding: 100px 0;
    background: #f9f9f9;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.highlight-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.highlight-card i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.highlight-card h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

/* Mobile Menu Button */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

.hamburger:hover {
    background: rgba(52, 152, 219, 0.1);
    transform: rotate(180deg);
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: #2c3e50;
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.hamburger:hover span {
    background: #3498db;
}

.hamburger:hover span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger:hover span:nth-child(2) {
    opacity: 0;
}

.hamburger:hover span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 1rem 0;
        flex-direction: column;
        align-items: center;
    }

    .nav-links.active {
        display: flex;
    }

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

    .hero h1 {
        font-size: 2.5rem;
    }

    .about-content,
    .services-grid,
    .contact-content {
        padding: 0 1rem;
    }
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
