/* ===== GENERAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #242424;
    --secondary-color: #202020;
    --accent-color: #ff5e3b;
    --highlight-color: #e85e40;
    --text-light: #ffffff;
    --text-muted: #a3a2a2;
    --border-color: #cbcbcb;
    --input-bg: #363636;
    --input-border: #444444;
    --input-text: #989898;
}

body {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--primary-color);
    color: var(--text-light);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== NAVIGATION ===== */
.navbar {
    background-color: #0b0b0a;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: none;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo a img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo a:hover {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--text-light);
    border-bottom-color: transparent;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 5px 0;
    transition: 0.3s;
}

/* ===== BANNER SECTION ===== */
.banner {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/back1.jpg') center/cover no-repeat;
    padding: 180px 0 200px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner-content {
    position: relative;
    z-index: 1;
}

.banner h1 {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 10px;
    color: var(--text-light);
    line-height: 50px;
}

.banner h2 {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 20px;
    color: var(--text-light);
}

.banner h3 {
    font-size: 112px;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 100px;
    margin-top: 20px;
}

/* ===== INFO SECTION ===== */
.info {
    background-color: var(--primary-color);
    padding: 50px 0;
}

.section-title {
    text-align: center;
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--text-light);
}

.section-title::after {
    content: "";
    display: block;
    height: 1px;
    max-width: 300px;
    width: 100%;
    margin: 20px auto;
    background: var(--border-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    text-align: center;
    padding: 0 15px;
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-light);
    padding: 5px 0;
}

.service-card p {
    font-size: 15px;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== STATS SECTION ===== */
.stats {
    background-color: var(--accent-color);
    padding: 50px 0;
    border: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-card {
    padding: 0;
}

.stat-number {
    font-size: 55px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 5px;
    padding: 5px 0 15px;
}

.stat-label {
    font-size: 18px;
    font-weight: 400;
    color: var(--text-light);
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio {
    background-color: var(--primary-color);
    padding: 50px 0;
}

.portfolio-hint {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-muted);
    font-size: 15px;
    padding: 0 10%;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 15px;
    border: none;
    background-color: transparent;
    color: var(--highlight-color);
    cursor: pointer;
    font-size: 15px;
    font-weight: 400;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 0;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--highlight-color);
    color: var(--text-light);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.portfolio-item img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    filter: blur(5px);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .overlay {
    opacity: 1;
}

.overlay a {
    background: var(--accent-color);
    color: var(--text-light);
    text-decoration: none;
    font-size: 15px;
    text-transform: uppercase;
    width: 70%;
    height: 50px;
    line-height: 50px;
    text-align: center;
    display: inline-block;
}

.overlay span {
    color: var(--text-light);
    font-size: 16px;
    font-weight: 600;
}

/* ===== CONTACT SECTION ===== */
.contact {
    background-color: var(--primary-color);
    padding: 0;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    background-color: var(--secondary-color);
    padding: 50px;
    min-width: 300px;
}

.contact-form {
    flex: 1;
    background-color: var(--primary-color);
    padding: 50px;
    min-width: 300px;
}

.contact-info h2 {
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-light);
    text-align: left;
}

.contact-info h2::after {
    content: "";
    display: block;
    height: 1px;
    max-width: 300px;
    width: 100%;
    margin: 20px 0;
    background: var(--border-color);
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 15px;
    line-height: 1.6;
}

.contact-email {
    padding: 0;
    background-color: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 15px;
}

.contact-email strong {
    color: var(--text-muted);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--input-text);
    font-family: inherit;
    border-radius: 0;
    font-size: 15px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--input-text);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    max-width: 230px;
    height: 50px;
    line-height: 50px;
    padding: 0;
    background-color: var(--accent-color);
    color: var(--text-light);
    border: none;
    border-radius: 0;
    font-size: 15px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.submit-btn:hover {
    background-color: #d93d50;
    transform: none;
    box-shadow: none;
}

/* ===== PAGE CONTAINER ===== */
.page-container {
    background-color: var(--primary-color);
    padding: 60px 0;
    min-height: calc(100vh - 200px);
}

.page-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.page-date {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
}

.page-content {
    max-width: 900px;
    margin: 0 auto;
}

.text-content {
    font-size: 15px;
    line-height: 1.9;
    color: var(--text-muted);
}

.text-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-light);
    margin-top: 40px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.text-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.text-content p {
    margin-bottom: 20px;
}

.text-content ul {
    margin-bottom: 20px;
    margin-left: 30px;
}

.text-content li {
    margin-bottom: 10px;
    color: var(--text-muted);
}

.text-content a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.text-content a:hover {
    color: #ff5c73;
    text-decoration: underline;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--secondary-color);
    padding: 30px 0;
    text-align: center;
    border-top: none;
}

.footer p {
    color: var(--text-muted);
    font-size: 15px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 991px) {
    .banner h1 {
        font-size: 24px;
        margin: 20px 0;
    }
    
    .banner h2 {
        font-size: 18px;
    }

    .banner h3 {
        font-size: 66px;
        line-height: 80px;
        padding-bottom: 20px;
    }

    .section-title {
        font-size: 36px;
    }

    .stat-number {
        font-size: 35px;
    }
    
    .stat-label {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        left: -100%;
        top: 50px;
        flex-direction: column;
        background-color: #0b0b0a;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 15px 0;
        border-bottom: 1px solid #222;
    }

    .contact-wrapper {
        flex-direction: column;
    }
    
    .contact-info, .contact-form {
        width: 100%;
    }
}
