/* Global Styles */
:root {
    --primary-color: #1a1a1a;
    --accent-color: #e50914;
    --text-color: #f5f5f5;
    --secondary-color: #333333;
    --light-gray: #888888;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: rgb(15, 2, 61);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s ease;
}

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

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

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--text-color);
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #f01a2a;
    color: white;
}

.btn-arrow {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    background-color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-arrow:hover {
    background-color: #555;
}

/* Header */
header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px 0;
    backdrop-filter: blur(5px);
}

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

.logo {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent-color);
}

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

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

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('/assets/hero/hero-1.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 80px; /* Adjust for fixed header */
}

.hero h1 {
    font-size: 52px;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    color: #ccc;
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: url('/assets/breadcrumb-bg.jpg');
}

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

.section-title h2 {
    font-size: 36px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background-color: var(--accent-color);
}

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

.service-card {
    background-color: rgba(26, 26, 26, 0.8);
    border-radius: 8px;
    padding: 30px;
    transition: transform 0.3s ease;
}

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

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--accent-color);
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-btn {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    margin: 0 10px;
    padding: 5px 10px;
    font-size: 16px;
    transition: color 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
    color: var(--accent-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 10px;
}

.portfolio-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 250px;
    opacity: 1;
    transition: scale(1);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.portfolio-item.hidden {
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-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;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

.portfolio-overlay h4 {
    font-size: 22px;
    margin-bottom: 10px;
}

.portfolio-overlay p {
    color: var(--light-gray);
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: url('/assets/calltos-bg.jpg');
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-img {
    border-radius: 8px;
    overflow: hidden;
}

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

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

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

.about-text p {
    margin-bottom: 15px;
}

/* Team Section */
.team {
    padding: 100px 0;
    background: url('/assets/team/team-bg.jpg');
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: var(--secondary-color);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
}

.team-img {
    height: 300px;
    overflow: hidden;
}

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

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

.team-info {
    padding: 20px;
}

.team-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.team-info p {
    color: var(--light-gray);
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    color: var(--light-gray);
    transition: color 0.3s ease;
}

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

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: url('/assets/testimonial-bg.jpg');
    text-align: center;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    background-color: rgba(26, 26, 26, 0.8);
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.testimonial-text {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    color: var(--accent-color);
    font-size: 40px;
    line-height: 0;
    position: relative;
}

.client-info {
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.client-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-name-role h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.client-name-role p {
    color: var(--light-gray);
}

/* our team */
.team {
    padding: 100px 0;
    background-color: #f9f9f9;
}

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

.team-member {
    text-align: center;
    background-color: #292525;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}


.team-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.team-info p {
    font-size: 14px;
    color: #ffffff;
}

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

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
}

.contact-details {
    margin-bottom: 30px;
}

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

.contact-icon {
    margin-right: 15px;
    min-width: 20px;
    color: var(--accent-color);
}

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

.form-control {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(51, 51, 51, 0.8);
    border: 1px solid #444;
    border-radius: 4px;
    color: var(--text-color);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: #0f0f0f;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h3 {
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
}

.footer-links {
    list-style: none;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .about-img {
        order: -1;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 40px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    nav {
        display: none;
    }
}