body {
    margin: 0;
    padding: 0;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    background: #2b2626;
}

nav ul {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 260px;
    position: fixed;
    top: 0;
    left: -260px;
    background-color: #e3e9f7;
    transition: left 300ms ease-in-out;
    z-index: 998;
}

nav ul.open {
    left: 0;
}

nav ul li {
    list-style: none;
}

nav ul li a {
    display: block;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 20px;
    color: #000;
    position: relative;
    padding: 25px 0 25px 25px;
}

nav ul li a:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background-color: #2b2626;
    border-radius: 40px 0 0 40px;
    z-index: -1;
    transition: all 300ms ease-in-out;
}

nav ul li a:hover {
    color: #e3e9f7;
}

nav ul li a:hover:before {
    width: 95%;
}

.logo img {
    width: 75px;
    height: 75px;
    object-fit: contain;
    margin: 25px;
}

.menu-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 999;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: left 300ms ease-in-out;
}

.menu-btn.active {
    left: 270px;
}

.menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #ffffff;
    transition: all 300ms ease-in-out;
    transform-origin: center;
}

.menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.wrapper {
    margin-left: 0;
    transition: margin-left 300ms ease-in-out;
}

.wrapper.open {
    margin-left: 260px;
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-left h1 {
    color: #ffffff;
    font-size: 60px;
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
}

.gold-line {
    border: none;
    border-top: 4px solid #f0c000;
    margin: 10px 0;
    width: 100%;
}

.hero-left p {
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 2px;
    margin: 0;
}

.scroll-down {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 30px;
    animation: bounce 1.5s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

.socials {
    background: #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 40px;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 30%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 30%);
}

.socials a {
    color: #ffffff;
    font-size: 35px;
    transition: color 300ms ease-in-out;
}

.socials a:hover {
    color: #f0c000;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 600ms ease-out, transform 600ms ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    transition: height 300ms ease-in-out;
}

.about-hero.shrink {
    height: 50vh;
}

.about-hero-content {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 60%;
    transition: all 300ms ease-in-out;
}

.about-hero.shrink .about-hero-content {
    bottom: 30px;
}

.about-hero-content h1 {
    color: #ffffff;
    font-size: 80px;
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
    transition: font-size 300ms ease-in-out;
}

.about-hero.shrink .about-hero-content h1 {
    font-size: 50px;
}

.hero-subtitle {
    color: #cccccc;
    font-size: 18px;
    letter-spacing: 4px;
    margin: 10px 0 0 0;
    text-transform: uppercase;
    transition: all 300ms ease-in-out;
}

.about-hero.shrink .hero-subtitle {
    font-size: 13px;
    letter-spacing: 2px;
    opacity: 0.7;
}

.about-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    padding: 80px 60px;
    background: #1e1e1e;
}

.about-left {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
}

.about-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    filter: grayscale(20%);
    transition: filter 300ms ease-in-out, transform 300ms ease-in-out;
}

.about-img:hover {
    filter: grayscale(0%);
    transform: scale(1.02);
}

.about-middle {
    flex: 1.5;
}

.about-middle h2 {
    color: #ffffff;
    font-size: 36px;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 0 15px 0;
}

.about-middle p {
    color: #cccccc;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    flex: 1;
}

.about-img-grid {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    filter: grayscale(20%);
    transition: filter 300ms ease-in-out, transform 300ms ease-in-out;
}

.about-img-grid:hover {
    filter: grayscale(0%);
    transform: scale(1.03);
}

.stats-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f0c000;
    padding: 40px;
}

.stat {
    flex: 1;
    text-align: center;
    border-right: 2px solid rgba(0,0,0,0.2);
    padding: 0 40px;
}

.stat:last-child {
    border-right: none;
}

.stat h3 {
    color: #000000;
    font-size: 48px;
    font-weight: 900;
    margin: 0;
}

.stat p {
    color: #000000;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
    margin: 5px 0 0 0;
}

@media (max-width: 1024px) and (min-width: 769px) {
    .hero-left h1 {
        font-size: 45px;
    }

    .hero-left p {
        font-size: 15px;
        letter-spacing: 1px;
    }

    nav ul {
        width: 220px;
        left: -220px;
    }

    nav ul.open {
        left: 0;
    }

    .menu-btn.active {
        left: 230px;
    }

    .wrapper.open {
        margin-left: 220px;
    }

    nav ul li a {
        font-size: 17px;
        padding: 20px 0 20px 20px;
    }

    .logo img {
        width: 65px;
        height: 65px;
        margin: 20px;
    }

    .socials {
        padding: 30px;
        gap: 25px;
    }

    .socials a {
        font-size: 30px;
    }

    .about-section {
        flex-direction: column;
        padding: 50px 40px;
    }

    .about-right {
        width: 100%;
    }

    .about-hero-content h1 {
        font-size: 60px;
    }

    .about-hero.shrink .about-hero-content h1 {
        font-size: 40px;
    }

    .stats-strip {
        flex-direction: column;
        gap: 30px;
    }

    .stat {
        border-right: none;
        border-bottom: 2px solid rgba(0,0,0,0.2);
        padding: 20px 0;
        width: 100%;
    }

    .stat:last-child {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .hero-left h1 {
        font-size: 32px;
    }

    .hero-left p {
        font-size: 13px;
        letter-spacing: 1px;
    }

    .gold-line {
        border-top: 3px solid #f0c000;
    }

    nav ul {
        width: 200px;
        left: -200px;
    }

    nav ul.open {
        left: 0;
    }

    .menu-btn.active {
        left: 210px;
    }

    .wrapper.open {
        margin-left: 200px;
    }

    nav ul li a {
        font-size: 15px;
        padding: 18px 0 18px 18px;
    }

    .logo img {
        width: 55px;
        height: 55px;
        margin: 15px;
    }

    .socials {
        padding: 25px;
        gap: 20px;
    }

    .socials a {
        font-size: 25px;
    }

    .about-section {
        flex-direction: column;
        padding: 40px 20px;
    }

    .about-hero-content h1 {
        font-size: 40px;
    }

    .about-hero.shrink .about-hero-content h1 {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 13px;
    }

    .about-middle h2 {
        font-size: 26px;
    }

    .about-middle p {
        font-size: 14px;
    }

    .about-right {
        width: 100%;
    }

    .stats-strip {
        flex-direction: column;
        gap: 30px;
        padding: 30px 20px;
    }

    .stat {
        border-right: none;
        border-bottom: 2px solid rgba(0,0,0,0.2);
        padding: 20px 0;
        width: 100%;
    }

    .stat:last-child {
        border-bottom: none;
    }

    .stat h3 {
        font-size: 36px;
    }
}

.about-left.reveal {
    transition-delay: 0ms;
}

.about-middle.reveal {
    transition-delay: 150ms;
}

.about-right.reveal {
    transition-delay: 300ms;
}

.about-left .about-img:nth-child(1) {
    object-position: center 30%;
}

.about-left .about-img:nth-child(2) {
    object-position: center;
}

.portfolio-hero {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
}

.portfolio-hero .hero-bg {
    object-position: center 35%;
}

.portfolio-hero-content {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 60%;
}

.portfolio-hero-content h1 {
    color: #ffffff;
    font-size: 70px;
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
}

.portfolio-section {
    padding: 60px;
    background: #1e1e1e;
    border-bottom: 1px solid #2b2b2b;
}

.section-title {
    color: #ffffff;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 25px 0;
    text-align: center;
}

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.carousel {
    display: flex;
    gap: 20px;
    overflow-x: scroll;
    scroll-behavior: smooth;
    scrollbar-width: none;
    flex: 1;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.carousel::-webkit-scrollbar {
    display: none;
}

.carousel-img {
    height: 320px;
    width: auto;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
    transition: transform 300ms ease-in-out;
}

.carousel-img:hover {
    transform: scale(1.03);
}

.carousel-btn {
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.3);
    color: #ffffff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 300ms ease-in-out;
    flex-shrink: 0;
    z-index: 2;
}

.carousel-btn:hover {
    background: #f0c000;
    border-color: #f0c000;
    color: #000000;
}

@media (max-width: 768px) {
    .portfolio-section {
        padding: 40px 20px;
    }

    .portfolio-hero-content h1 {
        font-size: 40px;
    }

    .carousel-img {
        height: 220px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .portfolio-section {
        padding: 50px 40px;
    }

    .portfolio-hero-content h1 {
        font-size: 55px;
    }

    .carousel-img {
        height: 270px;
    }
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 300ms ease-in-out;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 12px;
    object-fit: contain;
    transform: scale(0.9);
    transition: transform 300ms ease-in-out;
}

.lightbox.active img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ffffff;
    font-size: 40px;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 300ms ease-in-out;
    line-height: 1;
}

.lightbox-close:hover {
    color: #f0c000;
}

.carousel-img {
    cursor: pointer;
}

.contact-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    text-align: center;
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(240,192,0,0.08) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.contact-hero-content h1 {
    color: #ffffff;
    font-size: 70px;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 0 15px 0;
    line-height: 1;
}

.contact-hero-content h1 span {
    color: #f0c000;
}

.contact-hero-content p {
    color: #aaaaaa;
    font-size: 18px;
    letter-spacing: 2px;
    margin: 0;
}

.contact-body {
    display: flex;
    gap: 60px;
    padding: 80px 80px;
    background: #1e1e1e;
    align-items: flex-start;
}

.contact-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.contact-info-block {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-info-block i {
    font-size: 24px;
    color: #f0c000;
    width: 50px;
    height: 50px;
    border: 2px solid #f0c000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-block h4 {
    color: #f0c000;
    font-size: 12px;
    letter-spacing: 3px;
    margin: 0 0 5px 0;
}

.contact-info-block p {
    color: #cccccc;
    font-size: 15px;
    margin: 0;
}

.contact-socials {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.contact-socials a {
    color: #ffffff;
    font-size: 22px;
    width: 45px;
    height: 45px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 300ms ease-in-out;
}

.contact-socials a:hover {
    border-color: #f0c000;
    color: #f0c000;
}

.contact-right {
    flex: 1.5;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    position: relative;
    flex: 1;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 18px 15px 8px 15px;
    color: #ffffff;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 15px;
    outline: none;
    transition: border-color 300ms ease-in-out;
    box-sizing: border-box;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #f0c000;
}

.form-group label {
    position: absolute;
    top: 14px;
    left: 15px;
    color: #888888;
    font-size: 14px;
    transition: all 200ms ease-in-out;
    pointer-events: none;
    letter-spacing: 1px;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: 5px;
    font-size: 10px;
    color: #f0c000;
    letter-spacing: 2px;
}

.submit-btn {
    background: #f0c000;
    color: #000000;
    border: none;
    padding: 18px 40px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 3px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 300ms ease-in-out;
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 10px;
}

.submit-btn:hover {
    background: #ffffff;
    transform: translateY(-2px);
}

.form-success {
    color: #4caf50;
    font-size: 15px;
    letter-spacing: 1px;
    opacity: 0;
    transition: opacity 300ms ease-in-out;
}

.form-success.visible {
    opacity: 1;
}

@media (max-width: 768px) {
    .contact-hero-content h1 {
        font-size: 36px;
    }

    .contact-body {
        flex-direction: column;
        padding: 40px 20px;
        gap: 40px;
    }

    .form-row {
        flex-direction: column;
    }

    .submit-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .contact-hero-content h1 {
        font-size: 50px;
    }

    .contact-body {
        padding: 60px 40px;
        gap: 40px;
    }
}

.contact-banner {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
    transition: height 300ms ease-in-out;
}

.contact-banner.shrink {
    height: 30vh;
}

.contact-banner-content {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 60%;
    transition: all 300ms ease-in-out;
}

.contact-banner-content h1 {
    color: #ffffff;
    font-size: 70px;
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
    transition: font-size 300ms ease-in-out;
}

.contact-banner.shrink .contact-banner-content h1 {
    font-size: 45px;
}

@media (max-width: 768px) {
    .contact-banner-content h1 {
        font-size: 40px;
    }

    .contact-banner.shrink .contact-banner-content h1 {
        font-size: 28px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .contact-banner-content h1 {
        font-size: 55px;
    }

    .contact-banner.shrink .contact-banner-content h1 {
        font-size: 38px;
    }
}

* {
    -webkit-tap-highlight-color: transparent;
}

@media (max-width: 768px) {
    .hero-left h1 {
        font-size: 28px;
        letter-spacing: 1px;
    }

    .hero-left p {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .scroll-down {
        font-size: 24px;
    }

    .about-section {
        padding: 30px 15px;
        gap: 25px;
    }

    .about-img {
        height: 200px;
    }

    .about-img-grid {
        height: 160px;
    }

    .about-middle h2 {
        font-size: 22px;
    }

    .about-middle p {
        font-size: 13px;
        line-height: 1.7;
    }

    .portfolio-section {
        padding: 30px 10px;
    }

    .carousel-img {
        height: 180px;
    }

    .section-title {
        font-size: 14px;
        letter-spacing: 1px;
    }

    .contact-hero {
        padding: 50px 20px;
        min-height: 25vh;
    }

    .contact-hero-content h1 {
        font-size: 28px;
    }

    .contact-body {
        padding: 30px 15px;
        gap: 30px;
    }

    .contact-info-block i {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px;
    }

    .socials {
        padding: 30px 20px;
    }

    .stats-strip {
        padding: 20px 15px;
    }
}

@supports (padding: max(0px)) {
    .wrapper {
        padding-bottom: env(safe-area-inset-bottom);
    }

    .menu-btn {
        top: max(20px, env(safe-area-inset-top));
        left: max(20px, env(safe-area-inset-left));
    }
}
