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

body {
    font-family: "Montserrat", Arial, sans-serif;
    background: #f5f5f5;
    color: #1D2A44;
    line-height: 1.7;
    scroll-behavior: smooth;
}

/* ===========================
   HEADER
=========================== */
header {
    background: rgba(255,255,255,0.95);
    padding: 15px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.07);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 55px;
}

.nav ul {
    display: flex;
    gap: 35px;
    list-style: none;
}

.nav a {
    text-decoration: none;
    color: #1D2A44;
    font-weight: 600;
    transition: 0.3s;
    position: relative;
}

.nav a.active,
.nav a:hover {
    color: #F4B400;
}

.nav a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: #F4B400;
    bottom: -4px;
    left: 0;
    border-radius: 2px;
    transition: 0.3s;
}

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

/* ===========================
   BURGER MENU
=========================== */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.burger span {
    width: 28px;
    height: 3px;
    background: #1D2A44;
    border-radius: 2px;
    transition: 0.3s;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.burger.active span:nth-child(2) {
    opacity: 0;
}
.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 780px) {
    .nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 60%;
        background: rgba(29, 42, 68, 0.97);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: 0.3s;
    }

    .nav ul.show {
        right: 0;
    }

    .nav a {
        color: #fff;
        font-size: 20px;
    }

    .burger {
        display: flex;
    }
}

/* ===========================
   HERO
=========================== */
.hero {
    position: relative;
    height: 85vh;
    background: url("https://images.unsplash.com/photo-1597586252191-859c0b7e1f7f?auto=format&fit=crop&w=1600") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 10%;
    color: white;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(244,180,0,0.6), rgba(29,42,68,0.6));
    animation: gradientShift 12s ease infinite;
    z-index: 1;
}

@keyframes gradientShift {
    0% { background: linear-gradient(120deg, rgba(244,180,0,0.6), rgba(29,42,68,0.6)); }
    50% { background: linear-gradient(120deg, rgba(244,180,0,0.8), rgba(29,42,68,0.4)); }
    100% { background: linear-gradient(120deg, rgba(244,180,0,0.6), rgba(29,42,68,0.6)); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 550px;
    animation: fadeInUp 1.2s ease forwards;
}

.hero-content h1 {
    font-size: 52px;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 25px;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===========================
   BUTTONS
=========================== */
.btn {
    padding: 14px 34px;
    display: inline-block;
    border-radius: 35px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s, transform 0.2s;
}

.btn.primary {
    background: linear-gradient(90deg, #F4B400, #FFD35E);
    color: #1D2A44;
    box-shadow: 0 6px 20px rgba(244,180,0,0.45);
}

.btn.primary:hover {
    background: linear-gradient(90deg, #FFD35E, #F4B400);
    box-shadow: 0 10px 28px rgba(244,180,0,0.6);
}

.btn.secondary {
    border: 2px solid #F4B400;
    color: #F4B400;
}

.btn.secondary:hover {
    background: #F4B400;
    color: #1D2A44;
}

/* ===========================
   SECTIONS
=========================== */
section {
    padding: 80px 10%;
}

h2 {
    text-align: center;
    font-size: 34px;
    margin-bottom: 50px;
    color: #1D2A44;
}

/* ===========================
   CARDS
=========================== */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 14px;
    text-decoration: none;
    color: #1D2A44;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    transition: 0.3s, transform 0.3s, box-shadow 0.3s;
}

.card h3 {
    margin-bottom: 12px;
    font-size: 22px;
    font-weight: 700;
}

.card p {
    font-size: 16px;
    line-height: 1.5;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 40px rgba(244,180,0,0.35);
}

/* ===========================
   PORTFOLIO
=========================== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 25px;
}

.grid-3 img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 14px;
    transition: 0.3s, transform 0.3s, box-shadow 0.3s;
    filter: grayscale(20%);
}

.grid-3 img:hover {
    transform: scale(1.07);
    box-shadow: 0 20px 40px rgba(244,180,0,0.3);
    filter: grayscale(0%);
}

/* ===========================
   CONTACT FORM
=========================== */
#contact-form {
    max-width: 650px;
    margin: auto;
    background: white;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 20px;
    border: 2px solid #dcdcdc;
    border-radius: 12px;
    font-size: 16px;
    transition: 0.3s, box-shadow 0.3s;
}

#contact-form input:focus,
#contact-form textarea:focus {
    border-color: #FFD35E;
    box-shadow: 0 0 12px rgba(244,180,0,0.5);
    outline: none;
}

#contact-form button {
    background: linear-gradient(90deg, #F4B400, #FFD35E);
    color: #1D2A44;
    padding: 15px 35px;
    border: none;
    border-radius: 35px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s, transform 0.2s;
}

#contact-form button:hover {
    transform: scale(1.05);
}

/* ===========================
   SCROLL-IN ANIMATION
=========================== */
.scroll-in {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   FOOTER
=========================== */
footer {
    background: #1D2A44;
    color: white;
    text-align: center;
    padding: 25px;
    margin-top: 60px;
    font-size: 14px;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 780px) {
    .hero {
        justify-content: center;
        padding: 30px 20px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    header {
        padding: 15px 5%;
    }

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


/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left:0; top:0; width:100%; height:100%;
    background: rgba(0,0,0,0.85);
    align-items: center; justify-content: center;
}

.lightbox-img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(244,180,0,0.5);
}

.lightbox .close {
    position: absolute;
    top: 20px; right: 30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}


.hero::after {
    content:"";
    position:absolute; inset:0;
    background: linear-gradient(120deg, rgba(255,255,255,0.15), rgba(255,255,255,0));
    pointer-events:none;
    mix-blend-mode: overlay;
    filter: blur(12px);
    animation: shine 5s ease-in-out infinite;
}

@keyframes shine {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}




/* ===== LOGO ANIM ===== */
.logo svg { cursor:pointer; transition: transform 0.3s ease, filter 0.3s ease; }
.logo svg:hover { transform: scale(1.05) rotate(-1deg); filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2)); }



