/* ==================== ROOT & VARIABLES ==================== */
:root {
    --primary-dark: #121212;
    --secondary-dark: #1e1e1e;
    --accent-gold: #b08d57;
    --accent-gold-light: #d6b98c;
    --text-light: #f2f2f2;
    --text-muted: #8e8e8e;
    --border-color: #333333;
    --transition: all 0.3s ease;
}

/* ==================== RESET & GLOBAL ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
}

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

/* ==================== NAVIGATION ==================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;

    background: rgba(18, 18, 18, 0.92);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border-bottom: 1px solid rgba(176, 141, 87, 0.15);

    z-index: 1000;
    transition: all 0.4s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;

    background: linear-gradient(
        135deg,
        var(--accent-gold-light) 0%,
        var(--accent-gold) 100%
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-menu a {
    color: rgba(242, 242, 242, 0.85);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    color: var(--accent-gold-light);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;

    width: 0;
    height: 1px;

    background: linear-gradient(
        90deg,
        var(--accent-gold),
        var(--accent-gold-light)
    );

    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);

    width: 90%;
    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(176, 141, 87, 0.4),
        transparent
    );
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==================== HERO SECTION ==================== */
.hero {
    margin-top: 70px;
    padding: 100px 0;
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at top right,
            rgba(176, 141, 87, 0.12) 0%,
            transparent 35%
        ),
        linear-gradient(
            135deg,
            var(--primary-dark) 0%,
            var(--secondary-dark) 100%
        );
}

.hero::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 500px;
    height: 500px;
    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(176, 141, 87, 0.15) 0%,
        rgba(176, 141, 87, 0.05) 40%,
        transparent 70%
    );

    filter: blur(20px);
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(-30px) translateX(30px); }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px;

    background: linear-gradient(
        135deg,
        #ffffff 0%,
        #f8f4ec 40%,
        var(--accent-gold-light) 100%
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    color: var(--primary-dark);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 420px;
    border-radius: 12px;

    border: 1px solid rgba(176, 141, 87, 0.3);

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(176, 141, 87, 0.15);

    transition: all 0.4s ease;
}

.hero-image img:hover {
    transform: translateY(-8px);
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(176, 141, 87, 0.25);
}

/* ==================== ABOUT SECTION ==================== */
.about {
    padding: 100px 0;
    background: var(--secondary-dark);
}

.about h2 {
    font-size: 3rem;
    margin-bottom: 60px;
    text-align: center;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.about-text {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 50px;
    color: var(--text-light);
    text-align: center;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.about-item {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(26, 31, 58, 0) 100%);
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.about-item h3 {
    color: var(--accent-gold);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.about-item p {
    color: var(--text-muted);
    line-height: 1.8;
}

.skills-section h3 {
    color: var(--accent-gold);
    font-size: 1.3rem;
    margin-top: 30px;
    margin-bottom: 20px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.skill {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    text-align: center;
    transition: var(--transition);
}

.skill:hover {
    border-color: var(--accent-gold);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.08) 100%);
    transform: translateY(-3px);
}

.skill-name {
    color: var(--text-light);
    font-weight: 600;
}

/* ==================== SERVICES SECTION ==================== */
.services {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
}

.services h2 {
    font-size: 3rem;
    margin-bottom: 60px;
    text-align: center;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.service-card {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(26, 31, 58, 0) 100%);
    padding: 40px 30px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.service-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

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

.service-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ==================== PROJECTS SECTION ==================== */
.projects {
    padding: 100px 0;
    background: var(--secondary-dark);
}

.projects h2 {
    font-size: 3rem;
    margin-bottom: 60px;
    text-align: center;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.project-card {
    background: var(--primary-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.project-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.2);
}

.project-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-info {
    padding: 25px;
}

.project-info h3 {
    color: var(--accent-gold);
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.project-type {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.project-info p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ==================== CONTACT SECTION ==================== */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
}

.contact h2 {
    font-size: 3rem;
    margin-bottom: 60px;
    text-align: center;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
}

.contact-info h3 {
    color: var(--text-light);
    font-size: 1.8rem;
    margin-bottom: 40px;
}

.contact-item {
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(26, 31, 58, 0) 100%);
    border: 1px solid var(--border-color);
    border-radius: 6px;
}

.contact-label {
    display: block;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-item a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.1rem;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--accent-gold);
}

.social-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.social-link {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    color: var(--primary-dark);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

/* ==================== FOOTER ==================== */
.footer {
    padding: 30px 0;
    background: var(--primary-dark);
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;

        background: rgba(18, 18, 18, 0.98);
        backdrop-filter: blur(15px);

        padding: 20px 0;
        gap: 20px;

        border-bottom: 1px solid rgba(176, 141, 87, 0.2);

        z-index: 999;
    }

    .nav-menu.active li {
        text-align: center;
    }

    .nav-menu.active a {
        font-size: 1.1rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-top: 40px;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-image img {
        max-width: 300px;
    }

    .about h2,
    .services h2,
    .projects h2,
    .contact h2 {
        font-size: 2rem;
    }

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

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

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

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

    .hero,
    .about,
    .services,
    .projects,
    .contact {
        padding: 60px 0;
    }

    .section-title {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .about h2,
    .services h2,
    .projects h2,
    .contact h2 {
        font-size: 1.5rem;
        margin-bottom: 40px;
    }

    .about-text {
        font-size: 1rem;
    }

    .nav-container {
        padding: 0 15px;
    }

    .logo {
        font-size: 1.3rem;
    }
}
