html {
    scroll-behavior: smooth;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Header */
header {
    background: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header .logo {
    height: 50px;
    width: 50px;
    border-radius: 25%;
    object-fit: cover;
}
header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}
header nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 100px 20px;
    background: #f0f8ff;
}
.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}
.btn {
    background: #1e90ff;
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}
.btn:hover {
    background: #186fc7;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Gallery Section */
#gallery {
    padding: 80px 0;
    text-align: center;
    background: #f0f8ff;
}
#gallery h2 {
    margin-bottom: 20px;
    font-size: 2rem;
}
#gallery p {
    margin-bottom: 40px;
    font-size: 1.1rem;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.gallery-item img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}
.gallery-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
/* Lightbox Overlay */
.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}
.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}
.lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}
.lightbox .close:hover {
    color: #bbb;
}

/* Services */
#services {
    padding: 10px 0;
    text-align: center;
}
.services-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 40px;
}
.service {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 500px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.service img {
    width: 100px;
    margin-bottom: 20px;
}
.service h3 {
    margin-bottom: 10px;
}

/* Portfolio / About Section */
#portfolio {
    padding: 10px 0;
    background-color: #ececec;
}
.portfolio-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    padding: 50px 0;
}
.portfolio-left {
    flex: 1;
    min-width: 250px;
    text-align: center;
}
.profile-pic {
    max-width: 100%;
    border-radius: 15px;
    border: 2px solid #7a7a7a;
}
.portfolio-right {
    flex: 2;
    min-width: 250px;
}
.portfolio-right h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}
.portfolio-right p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Contact */
#contact {
    padding: 80px 0;
    background: #f9f9f9;
    text-align: center;
}
#contact p {
    margin-bottom: 20px;
    font-size: 1.2rem;
}
.discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #5865F2;
    color: #fff;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 15px 25px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.discord-btn:hover {
    background: #4752c4;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

/* Consent Box */
#consent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.consent-box {
    background: #fff;
    color: #2c3e50;
    padding: 25px;
    max-width: 500px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    animation: fadeIn 0.3s ease-in-out;
}
.consent-box h2 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}
.consent-box p {
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.5;
}
.consent-box button {
    padding: 10px 20px;
    background: #2798F5;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}
.consent-box button:hover {
    transform: translateY(-2px);
    background: #1a7acc;
}
@keyframes fadeIn {
    from {opacity: 0; transform: translateY(15px);}
    to {opacity: 1; transform: translateY(0);}
}


/* ===================== Responsive ===================== */

/* Tablets */
@media (max-width: 992px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    .services-grid {
        flex-direction: column;
        align-items: center;
    }
    .service {
        width: 80%;
    }
    .portfolio-container {
        flex-direction: column;
        text-align: center;
    }
    .portfolio-right, .portfolio-left {
        flex: unset;
        width: 100%;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .consent-box {
        max-width: 80%;
        padding: 20px;
    }

    .consent-box h2 {
        font-size: 1.2rem;
    }

    .consent-box p {
        font-size: 0.95rem;
    }

    .consent-box button {
        font-size: 0.95rem;
        padding: 8px 18px;
    }
}

/* Phone */
@media (max-width: 576px) {
    header .logo {
        height: 40px;
        width: 40px;
    }
    header nav ul {
        flex-direction: column;
        gap: 10px;
    }
    .hero h1 {
        font-size: 1.5rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .btn, .discord-btn {
        width: 80%;
        justify-content: center;
        padding: 12px 0;
        font-size: 1rem;
    }
    .service {
        width: 90%;
    }
    .portfolio-right h2 {
        font-size: 1.5rem;
    }
    .portfolio-right p {
        font-size: 0.95rem;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .consent-box {
        max-width: 90%;
        padding: 15px;
    }

    .consent-box h2 {
        font-size: 1.1rem;
    }

    .consent-box p {
        font-size: 0.9rem;
    }

    .consent-box button {
        width: 100%;
        font-size: 1rem;
        padding: 10px;
    }
}
