/* ==========================================
   RESET & GLOBAL STYLES
========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #070d16;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

.container {
    width: min(1120px, 90%);
    margin: auto;
}

section {
    position: relative;
    overflow: hidden;
}


/* ==========================================
   GOLD VARIABLES
========================================== */

:root {
    --gold: #d4af37;
    --gold-light: #f5cf5b;
    --dark: #070d16;
    --dark-2: #0b121d;
    --dark-3: #101927;
    --cream: #f7f1e8;
    --text-dark: #182231;
    --muted: #aeb7c5;
    --border: rgba(212, 175, 55, 0.35);
}


/* ==========================================
   NAVIGATION
========================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 76px;
    background: rgba(7, 13, 22, 0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 1000;
}

.nav-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* Logo */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 26px;
    font-weight: 800;
    color: var(--gold);
    border-right: 2px solid var(--gold);
    padding-right: 9px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-text strong {
    font-size: 14px;
}

.logo-text small {
    color: var(--muted);
    font-size: 9px;
}


/* Navigation links */

.navbar {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navbar > a {
    position: relative;
    font-size: 13px;
    color: #dce2ea;
    transition: 0.3s ease;
}

.navbar > a:not(.hire-btn)::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -9px;
    width: 0;
    height: 2px;
    background: var(--gold);
    transform: translateX(-50%);
    transition: 0.3s ease;
}

.navbar > a:hover,
.navbar > a.active {
    color: var(--gold-light);
}

.navbar > a:hover::after,
.navbar > a.active::after {
    width: 100%;
}


/* Hire button */

.hire-btn {
    border: 1px solid var(--gold);
    border-radius: 30px;
    padding: 10px 20px;
    color: #ffffff !important;
    transition: 0.3s ease;
}

.hire-btn i {
    margin-left: 7px;
    color: var(--gold);
}

.hire-btn:hover {
    background: var(--gold);
    color: #111 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25);
}

.hire-btn:hover i {
    color: #111;
}


/* Mobile button */

.menu-btn {
    display: none;
    background: none;
    border: 0;
    color: var(--gold);
    font-size: 24px;
    cursor: pointer;
}


/* ==========================================
   HERO
========================================== */

.hero {
    min-height: 720px;
    padding-top: 76px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 80% 40%, rgba(212, 175, 55, 0.10), transparent 30%),
        radial-gradient(circle at 15% 70%, rgba(30, 80, 130, 0.12), transparent 35%),
        var(--dark);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: 50px;
}


/* Hero text */

.hero-small-title {
    color: var(--gold-light);
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-small-title span {
    width: 18px;
    height: 2px;
    background: var(--gold);
    display: inline-block;
}

.hero h1 {
    font-size: clamp(48px, 6vw, 76px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -2px;
}

.hero h1 span {
    color: var(--gold);
}

.hero h2 {
    font-size: 24px;
    margin-top: 10px;
    font-weight: 500;
    color: #e7ebf0;
}

.hero-description {
    max-width: 540px;
    color: var(--muted);
    margin-top: 20px;
    font-size: 15px;
}


/* Buttons */

.hero-buttons {
    display: flex;
    gap: 14px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 22px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.35s ease;
}

.btn-primary {
    background: var(--gold);
    color: #111;
    border: 1px solid var(--gold);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.25);
}

.btn-outline {
    border: 1px solid var(--gold);
    color: #ffffff;
}

.btn-outline:hover {
    background: var(--gold);
    color: #111;
    transform: translateY(-4px);
}

/* Social icons */

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 25px;
}

.social-links a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--gold);
    border: 1px solid transparent;
    transition: 0.3s ease;
}

.social-links a:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    background: rgba(212, 175, 55, 0.08);
}


/* Hero image */

.hero-image {
    height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-glow {
    position: absolute;
    width: 330px;
    height: 330px;
    background: rgba(212, 175, 55, 0.16);
    filter: blur(80px);
    border-radius: 50%;
}

.hero-decoration {
    position: absolute;
    width: 290px;
    height: 390px;
    border: 1px solid var(--gold);
    border-radius: 40px;
    transform: rotate(10deg);
    opacity: 0.55;
}

/* Photo */

.about-photo {
    width: 300px;
    height: 390px;
    border-radius: 40px 40px 30px 30px;
    background: linear-gradient(
        145deg,
        #182231,
        #090e17
    );
    border: 1px solid var(--border);
    padding: 8px;
    position: relative;
    z-index: 2;

    box-shadow:
        0 0 60px rgba(212, 175, 55, 0.08),
        inset 0 0 50px rgba(212, 175, 55, 0.04);

    animation: floatImage 5s ease-in-out infinite;
}

.about-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 34px 34px 24px 24px;
}

/* ==========================================
   ABOUT
========================================== */

.about {
    padding: 100px 0;
    background: #0a111c;
}

.section-title p {
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 7px;
}

.section-title h2 {
    font-size: 34px;
    line-height: 1.15;
}

.section-title.center {
    text-align: center;
}

.about-grid {
    margin-top: 50px;
    display: grid;
    grid-template-columns: 0.9fr 1.3fr 0.7fr;
    gap: 40px;
    align-items: center;
}


/* About image */

.about-image {
    position: relative;
}

.about-image-placeholder {
    height: 300px;
    border-radius: 30px;
    background:
        linear-gradient(145deg, #192536, #0a111b);
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    font-size: 75px;
    color: var(--gold);
    transition: 0.4s ease;
}

.about-image-placeholder:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.12);
}


/* About text */

.about-content p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 13px;
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 25px 0;
}

.about-features div {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
}

.about-features i {
    color: var(--gold);
}


/* Stats */

.about-stats {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 5px 18px;
}

.stat {
    display: grid;
    grid-template-columns: 35px 1fr;
    padding: 17px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stat:last-child {
    border-bottom: 0;
}

.stat i {
    grid-row: span 2;
    color: var(--gold);
    font-size: 18px;
    padding-top: 4px;
}

.stat strong {
    font-size: 17px;
}

.stat span {
    color: var(--muted);
    font-size: 10px;
}

/* ==========================================
   SKILLS
========================================== */

.skills {
    padding: 85px 0;
    background: #070d16;
}

.skills-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.skill-card {
    padding: 22px 14px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 9px;
    text-align: center;
    background: #0c1521;
    transition: 0.35s ease;
}

.skill-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.09);
}

.skill-card > i {
    font-size: 35px;
    color: var(--gold);
    margin-bottom: 10px;
}

.skill-card h3 {
    font-size: 14px;
}

.skill-card span {
    font-size: 10px;
    color: var(--muted);
}

.progress {
    height: 4px;
    background: #25303f;
    margin-top: 12px;
    border-radius: 10px;
    overflow: hidden;
}

.progress span {
    display: block;
    height: 100%;
    background: var(--gold);
}


/* ==========================================
   SERVICES
========================================== */

.services {
    padding: 95px 0;
    background: var(--cream);
    color: var(--text-dark);
}

.services-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.service-card {
    position: relative;
    padding: 25px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(20, 30, 40, 0.08);
    border-radius: 12px;
    transition: 0.4s ease;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
    border-color: var(--gold);
}

.service-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.16);
    display: grid;
    place-items: center;
    color: #a17d0e;
    margin-bottom: 17px;
}

.service-card h3 {
    font-size: 15px;
    margin-bottom: 7px;
}

.service-card p {
    font-size: 12px;
    color: #69717b;
}

.service-arrow {
    position: absolute;
    right: 20px;
    top: 25px;
    color: #a17d0e;
    transition: 0.3s ease;
}

.service-card:hover .service-arrow {
    transform: translateX(6px);
}

/* ==========================================
   PORTFOLIO
========================================== */

.portfolio {
    padding: 95px 0;
    background: #080f19;
}

.portfolio-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.project-card {
    background: #0e1723;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 10px;
    overflow: hidden;
    transition: 0.4s ease;
}

.project-card:hover {
    transform: translateY(-9px);
    border-color: var(--gold);
    box-shadow: 0 20px 45px rgba(212, 175, 55, 0.10);
}

.project-image {
    height: 220px;
    padding: 10px;
}

#p {
    margin-left: 60px;
}
.project-placeholder {
    height: 100%;
    border-radius: 6px;
    background: linear-gradient(145deg, #172436, #090e17);
    display: grid;
    place-items: center;
    font-size: 65px;
    color: var(--gold);
}

.project-info {
    position: relative;
    padding: 17px;
}

.project-info h3 {
    font-size: 14px;
}

.project-info p {
    color: var(--muted);
    font-size: 11px;
}

.project-btn {
    position: absolute;
    right: 16px;
    top: 17px;
    width: 32px;
    height: 32px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--gold);
    transition: 0.3s ease;
}

.project-btn:hover {
    background: var(--gold);
    color: #111;
    transform: rotate(-45deg);
}

/* ==========================================
   TESTIMONIALS
========================================== */

.testimonials {
    padding: 95px 0;
    background: var(--cream);
    color: var(--text-dark);
}

.testimonial-card {
    max-width: 720px;
    margin: 35px auto 0;
    background: #ffffff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    position: relative;
}

.quote-icon {
    color: var(--gold);
    font-size: 30px;
    margin-bottom: 10px;
}

.testimonial-card > p {
    font-size: 14px;
    color: #4e5865;
    margin-bottom: 25px;
}

.testimonial-person {
    display: flex;
    align-items: center;
    gap: 12px;
}

.circle-box {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  top: 2px;
  left: -10px;
}

.circle-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-person div:last-child {
    display: flex;
    flex-direction: column;
}

.testimonial-person strong {
    font-size: 13px;
}

.testimonial-person span {
    color: #818b96;
    font-size: 10px;
}

.stars {
    position: absolute;
    right: 35px;
    bottom: 38px;
    color: #d5a81b;
    letter-spacing: 2px;
}


/* ==========================================
   CONTACT
========================================== */

.contact {
    padding: 95px 0;
    background: #070d16;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
    align-items: center;
}

.contact-info > p {
    color: var(--muted);
    font-size: 14px;
    margin: 20px 0 25px;
    max-width: 430px;
}

.contact-detail {
    display: flex;
    gap: 14px;
    margin: 18px 0;
}

.contact-detail > i {
    color: var(--gold);
    margin-top: 4px;
}

.contact-detail div {
    display: flex;
    flex-direction: column;
}

.contact-detail span {
    font-size: 10px;
    color: var(--muted);
}

.contact-detail strong {
    font-size: 13px;
}


/* Contact form */

.contact-form {
    padding: 28px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 12px;
    background: #0c1521;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group {
    margin-bottom: 17px;
}

.form-group label {
    display: block;
    font-size: 11px;
    margin-bottom: 7px;
    color: #d8dee7;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: #111c2a;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 6px;
    padding: 12px;
    color: #ffffff;
    outline: none;
    transition: 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.08);
}

.form-group textarea {
    height: 130px;
    resize: vertical;
}

/* ==========================================
   FOOTER
========================================== */

.footer {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #060b12;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo span {
    color: var(--gold);
    font-weight: 800;
}

.footer-logo strong {
    font-size: 12px;
}

.footer p {
    color: var(--muted);
    font-size: 10px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--gold);
    transition: 0.3s ease;
}

.footer-socials a:hover {
    background: var(--gold);
    color: #111;
    transform: translateY(-3px);
}


/* ==========================================
   ANIMATIONS
========================================== */

@keyframes floatImage {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 900px) {

    .navbar {
        gap: 18px;
    }

    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr 1.4fr;
    }

    .about-stats {
        grid-column: 1 / -1;
    }

    .hero .container {
        grid-template-columns: 1fr 0.8fr;
    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 700px) {

    .header {
        height: 68px;
    }

    .navbar {
        position: absolute;
        top: 68px;
        left: 0;
        width: 100%;
        padding: 20px;
        background: #080f19;
        border-top: 1px solid rgba(255, 255, 255, 0.06);

        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .navbar.show {
        display: flex;
    }

    .hire-btn {
        width: 100%;
        text-align: center;
    }

    .menu-btn {
        display: block;
    }


    .hero {
        min-height: auto;
        padding: 120px 0 70px;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-small-title {
        justify-content: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .social-links {
        justify-content: center;
    }

    .hero-image {
        height: 430px;
    }

    .hero-image-placeholder {
        width: 280px;
        height: 350px;
    }


    .about,
    .skills,
    .services,
    .portfolio,
    .testimonials,
    .contact {
        padding: 70px 0;
    }


    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-column: auto;
    }

    .about-image {
        position: relative;
        right: -30px;
    }

    .section-title {
        text-align: center;
    }

    .about-content {
        text-align: center;
    }

    .about-features {
        margin-left: 30px;
    }

    #o {
        margin-left: 90px;
    }


    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }


    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }


    .footer-content {
        flex-direction: column;
        text-align: center;
    }

}

/* ==========================================
   SMALL PHONES
========================================== */

@media (max-width: 420px) {

    .hero h1 {
        font-size: 45px;
    }

    .hero h2 {
        font-size: 20px;
    }

    .skills-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-form {
        padding: 20px;
    }

}


/* ==========================================
   HOMEPAGE SCROLL REVEAL ANIMATIONS
========================================== */

.reveal {
    opacity: 0;
    transform: translateY(45px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}


/* ==========================================
   HERO
========================================== */

.hero-content.reveal {
    transform: translateX(-50px);
}

.hero-content.reveal.show {
    transform: translateX(0);
}


.hero-image.reveal {
    transform: translateX(50px);
}

.hero-image.reveal.show {
    transform: translateX(0);
}


/* ==========================================
   SECTION TITLES
========================================== */

.section-title.reveal {
    transform: translateY(45px);
}

.section-title.reveal.show {
    transform: translateY(0);
}


/* ==========================================
   ABOUT SECTION
========================================== */

.about-image.reveal {
    transform: translateX(-50px);
}

.about-image.reveal.show {
    transform: translateX(0);
}


.about-content.reveal {
    transform: translateX(50px);
}

.about-content.reveal.show {
    transform: translateX(0);
}


.about-stats.reveal {
    transform: translateY(45px);
}

.about-stats.reveal.show {
    transform: translateY(0);
}


/* ==========================================
   SKILLS
========================================== */

.skill-card.reveal {
    transform: translateY(45px);
}

.skill-card.reveal.show {
    transform: translateY(0);
}


/* Stagger skills */

.skill-card:nth-child(1) {
    transition-delay: 0.1s;
}

.skill-card:nth-child(2) {
    transition-delay: 0.2s;
}

.skill-card:nth-child(3) {
    transition-delay: 0.3s;
}

.skill-card:nth-child(4) {
    transition-delay: 0.4s;
}

.skill-card:nth-child(5) {
    transition-delay: 0.5s;
}

.skill-card:nth-child(6) {
    transition-delay: 0.6s;
}


/* ==========================================
   SERVICES
========================================== */

.service-card.reveal {
    transform: translateY(45px);
}

.service-card.reveal.show {
    transform: translateY(0);
}


/* Stagger services */

.service-card:nth-child(1) {
    transition-delay: 0.1s;
}

.service-card:nth-child(2) {
    transition-delay: 0.2s;
}

.service-card:nth-child(3) {
    transition-delay: 0.3s;
}

.service-card:nth-child(4) {
    transition-delay: 0.4s;
}

.service-card:nth-child(5) {
    transition-delay: 0.5s;
}

.service-card:nth-child(6) {
    transition-delay: 0.6s;
}


/* ==========================================
   PORTFOLIO PROJECTS
========================================== */

.project-card.reveal {
    transform: translateY(45px);
}

.project-card.reveal.show {
    transform: translateY(0);
}


/* ==========================================
   TESTIMONIAL
========================================== */

.testimonial-card.reveal {
    transform: translateY(45px);
}

.testimonial-card.reveal.show {
    transform: translateY(0);
}


/* ==========================================
   CONTACT
========================================== */

.contact-info.reveal {
    transform: translateX(-50px);
}

.contact-info.reveal.show {
    transform: translateX(0);
}


.contact-form.reveal {
    transform: translateX(50px);
}

.contact-form.reveal.show {
    transform: translateX(0);
}


/* ==========================================
   REDUCED MOTION
========================================== */

@media (prefers-reduced-motion: reduce) {

    .reveal,
    .hero-content.reveal,
    .hero-image.reveal,
    .section-title.reveal,
    .about-image.reveal,
    .about-content.reveal,
    .about-stats.reveal,
    .skill-card.reveal,
    .service-card.reveal,
    .project-card.reveal,
    .testimonial-card.reveal,
    .contact-info.reveal,
    .contact-form.reveal {

        animation: none;
        opacity: 1;
        transform: none;
        transition: none;

    }

}

/* ==========================================
   HERO SCROLL REVEAL DIRECTION
========================================== */

.hero-content {
    transform: translateX(-50px) !important;
}

.hero-image {
    transform: translateX(50px) !important;
}

.hero-content,
.hero-image {
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-content[style*="opacity: 1"],
.hero-image[style*="opacity: 1"] {
    transform: translateX(0) !important;
}