/* ==========================
   RESET
========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #FFFFFF;
    color: #111111;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================
   TYPOGRAPHY
========================== */

h1,
h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.05em;
}

h1 {
    font-size: clamp(4rem, 12vw, 10rem);
    line-height: 0.9;
}

h2 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1;
}

p {
    color: #777777;
    font-size: 1rem;
}

.section-label,
.project-header span,
.hero-label {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #777777;
    display: block;
    margin-bottom: 1rem;
}

/* ==========================
   HERO
========================== */

.hero {
    min-height: 100vh;
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,0,0,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -1;
}

.hero-role {
    margin-top: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #111111;
}

.hero-tags {
    margin-top: 1rem;
    max-width: 700px;
}

/* ==========================
   BUTTONS
========================== */

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 16px 28px;

    border-radius: 999px;

    text-decoration: none;

    font-size: 0.95rem;
    font-weight: 600;

    cursor: pointer;

    transition: all .3s ease;
}

.btn-primary {
    background: #111111;
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
}

.btn-secondary {
    border: 1px solid #111111;
    color: #111111;
    background: transparent;
}

.btn-secondary:hover {
    background: #111111;
    color: white;
}

/* ==========================
   SECTIONS
========================== */

.about,
.project,
.contact {
    padding: 120px 80px;
}

.about {
    max-width: 1200px;
}

.about p {
    max-width: 800px;
    margin-top: 2rem;
}

.about-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 40px;

    margin-top: 4rem;
}

.about-meta strong {

    color: #111111;
    width: 800px;
}

/* ==========================
   PROJECTS
========================== */

.project-header {
    margin-bottom: 80px;
}

.project-header h2 {
    margin-bottom: 10px;
}

.project-header p {
    max-width: 500px;
}

.project img {
    width: 100%;
    display: block;

    margin-bottom: 80px;

    transition: transform .5s ease;
}

.project img:hover {
    transform: scale(1.01);
}

/* ==========================
   CONTACT
========================== */

.contact-info {
    margin-top: 3rem;
}

.contact-info p {
    margin-bottom: 2rem;
}

.contact-info strong {
    color: #111111;
}

/* ==========================
   MODAL
========================== */

.modal {
    position: fixed;

    inset: 0;

    background: rgba(0,0,0,.85);

    display: none;

    align-items: center;
    justify-content: center;

    padding: 30px;

    z-index: 9999;
}

.modal.active {
    display: flex;
}

.modal-content {
    position: relative;

    width: 100%;
    max-width: 1100px;
}

.modal video {
    width: 100%;
    border-radius: 20px;
}

.close-modal {
    position: absolute;

    top: -50px;
    right: 0;

    background: transparent;

    border: none;

    color: white;

    font-size: 2rem;

    cursor: pointer;
}

/* ==========================
   FADE ANIMATION
========================== */

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all .8s ease;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================
   RESPONSIVE
========================== */

@media (max-width: 1024px) {

    .hero,
    .about,
    .project,
    .contact {
        padding: 60px;
    }

    .about-meta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .hero,
    .about,
    .project,
    .contact {
        padding: 40px 24px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
   .btn-third{
      width:100%;
      flex-direction: column;
        align-items: flex-start;
        gap: 8px;
   }
   .btn-third-p{
  font-size: 14px;
  color: #777;
  margin: 0;
  max-width: 320px;
  line-height: 1.5;
}

    .project-header {
        margin-bottom: 50px;
    }

    .project img {
        margin-bottom: 40px;
    }

    .modal {
        padding: 20px;
    }

    .close-modal {
        top: -40px;
    }
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.image-card {
    height: 450px;
    border: 1px solid #000;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: 1fr;
    }

    .image-grid img {
        height: 250px;
    }
}

.mobile-link {
    color: #111111;
    text-decoration: none;
}

.mobile-link:hover {
    color: #111111;
    text-decoration: none;
}
.email-link {
    color: #111111;
    text-decoration: none;
}

.email-link:hover {
    color: #111111;
    text-decoration: none;
}





