/* Global Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #3498db;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-light: #7f8c8d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #c0392b;
    color: white;
    transform: translateY(-3px);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    padding: 10px 23px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: white;
}

.section-padding {
    padding: 80px 0;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 50px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

nav ul li a.active {
    color: var(--secondary-color);
}

.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    padding-top: 80px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* About Preview Section */
.about-preview {
    padding: 80px 0;
    background-color: var(--light-color);
}

.about-preview .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Services Preview Section */
.services-preview {
    padding: 80px 0;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    padding: 15px 20px 0;
}

.service-card p {
    padding: 0 20px 20px;
    color: var(--text-light);
}

/* Portfolio Preview Section */
.portfolio-preview {
    padding: 80px 0;
    background-color: var(--light-color);
    text-align: center;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.portfolio-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 250px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(231, 76, 60, 0.9);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .overlay {
    opacity: 1;
}

.overlay h3 {
    margin-bottom: 10px;
}

.btn-portfolio {
    display: inline-block;
    background-color: white;
    color: var(--secondary-color);
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
    margin-top: 15px;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    text-align: center;
    background-color: var(--primary-color);
    color: white;
}

.cta h2 {
    font-size: 36px;
}

.cta p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Footer Styles */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-about p {
    color: #bdc3c7;
}

.footer-links h3, .footer-contact h3 {
    color: white;
    margin-bottom: 25px;
    font-size: 18px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #bdc3c7;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
}

.footer-contact p {
    color: #bdc3c7;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding: 20px 0;
    text-align: center;
    color: #bdc3c7;
    font-size: 14px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #34495e;
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    height: 300px;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    padding-top: 80px;
}

.page-header h1 {
    font-size: 42px;
}

/* About Page */
.about-history {
    margin-bottom: 60px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)));
    gap: 40px;
    margin: 60px 0;
}

.mission, .vision {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.mission h3, .vision h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.values {
    text-align: center;
    margin: 80px 0;
}

.values h2 {
    margin-bottom: 50px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)));
    gap: 30px;
}

.value-item {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.value-item i {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.value-item h3 {
    margin-bottom: 15px;
}

.team {
    text-align: center;
    margin: 80px 0;
}

.team h2 {
    margin-bottom: 50px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)));
    gap: 30px;
}

.team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.team-member h3 {
    margin-bottom: 5px;
}

.team-member p {
    color: var(--text-light);
}

/* Services Page */
.services-detail {
    padding: 80px 0;
}

.service {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}

.service:nth-child(even) {
    flex-direction: row-reverse;
}

.service-image {
    flex: 1;
}

.service-image img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-content {
    flex: 1;
}

.service-content h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-content ul {
    margin: 20px 0;
    list-style-position: inside;
}

.service-content li {
    margin-bottom: 10px;
}

/* Portfolio Page */
.portfolio-filter {
    padding: 30px 0;
    background-color: var(--light-color);
}

.portfolio-filter ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 20px;
}

.portfolio-filter li {
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.portfolio-filter li.active {
    background-color: var(--secondary-color);
    color: white;
}

.portfolio-filter li:hover:not(.active) {
    background-color: #ddd;
}

.portfolio-grid {
    padding: 80px 0;
}

.testimonials {
    padding: 80px 0;
    background-color: var(--light-color);
    text-align: center;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 20px;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 20px;
}

.client-info h4 {
    color: var(--secondary-color);
}

.client-info p {
    color: var(--text-light);
    font-style: normal;
}

/* Contact Page */
.contact-content {
    padding: 80px 0;
}

.contact-content .container {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-form {
    flex: 1;
}

.contact-method {
    margin-bottom: 30px;
}

.contact-method i {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.contact-method h3 {
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
}

.map {
    height: 450px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-preview .container,
    .contact-content .container {
        flex-direction: column;
    }
    
    .service {
        flex-direction: column;
    }
    
    .service:nth-child(even) {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .portfolio-filter ul {
        flex-wrap: wrap;
    }
    
    .hero h1 {
        font-size: 30px;
    }
    
    .hero p {
        font-size: 16px;
    }
}