/*
--- Base Styles & Reset ---
*/


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

html, body {
    overflow-x: hidden;
    width: 100%;
}

html.no-scroll,
body.no-scroll {
    overflow: hidden;
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Montserrat', sans-serif;
    background-color: #0d0d0d;
    color: #e6e6e6;
    line-height: 1.6;
    scroll-behavior: smooth;
    width: 100%;
}

.main-content {
    flex-grow: 1;
}

a {
    color: #e6e6e6;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #f7b731;
}




                    /*
                        --- Header ---
                    */



.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: background-color 0.3s ease;
}

.main-header.scrolled {
    background-color: rgba(13, 13, 13, 0.9);
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
}




                    /*
                        --- Navigation ---
                    */



.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
}

.main-nav ul li a.active::after,
.main-nav ul li a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #f7b731;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
    transform: scaleX(1);
}



                    /*
                        --- Hamburger Menu ---
                    */



.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 101;
}

.hamburger {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #e6e6e6;
    position: relative;
    transition: all 0.3s ease-in-out;
}

.hamburger::before,
.hamburger::after {
    content: '';
    display: block;
    width: 25px;
    height: 2px;
    background-color: #e6e6e6;
    position: absolute;
    transition: all 0.3s ease-in-out;
}

.hamburger::before {
    transform: translateY(-8px);
}

.hamburger::after {
    transform: translateY(8px);
}

.menu-toggle.active .hamburger {
    background-color: transparent;
}

.menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
}

.menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
}



                    /*
                        --- Hero Section ---
                    */



.hero-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    background: url('../images/bg.jpg') no-repeat center center/cover;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-title, .hero-subtitle, .btn {
    position: relative;
    z-index: 1;
}


.hero-title {
    font-size: 4em;
    margin-bottom: 20px;
    letter-spacing: 2px;
    animation: fadeIn 1s ease-in-out;
}

.hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    animation: fadeIn 1.2s ease-in-out;
}



                    /*
                        --- Buttons ---
                    */



.btn {
    display: inline-block;
    padding: 15px 30px;
    border: 2px solid #e6e6e6;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    animation: fadeIn 1.5s ease-in-out;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    background-color: #f7b731;
    border-color: #f7b731;
    color: #0d0d0d;
}

.btn .btn-text,
.btn .loader-ring {
    transition: opacity 0.3s ease;
}

.btn .loader-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border: 4px solid transparent;
    border-radius: 50%;
    opacity: 0;
}

.btn.loading .btn-text {
    opacity: 0;
}

.btn.loading .loader-ring {
    width: 20px;
    height: 20px;
    border-top-color: #fff;
    border-left-color: #fff;
    animation: spin 1s linear infinite;
    opacity: 1;
}



                    /*
                        --- Keyframe Animations ---
                    */



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

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}



                    /*
                        --- Footer ---
                    */



.main-footer {
    text-align: center;
    padding: 40px 20px;
    background-color: #1a1a1a;
}

.main-footer p {
    font-size: 14px;
    margin-bottom: 15px;
}

.footer-work-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px;
    max-width: 980px;
    margin: 0 auto;
}

.footer-work-links a {
    font-size: 0.82rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(230, 230, 230, 0.78);
}

.social-links a {
    font-size: 20px;
    margin: 0 10px;
}



                    /*
                        --- Portfolio Section ---
                    */



.portfolio-section {
    padding: 100px 20px;
    text-align: center;
}

.portfolio-section--design {
    padding-top: 36px;
}

.portfolio-section--design .gallery-grid > a.gallery-item {
    aspect-ratio: 1 / 2;
    height: auto;
    max-height: none;
}

.portfolio-section--design .gallery-grid > a.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.design-showcase-divider {
    max-width: 980px;
    margin: 0 auto 8px;
    padding: 22px 20px 20px;
    text-align: center;
    border-top: 1px solid rgba(247, 183, 49, 0.45);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
}

.design-showcase-kicker {
    margin: 0 0 10px;
    font-size: 0.82em;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: #f7b731;
    font-weight: 700;
}

.design-showcase-divider h3 {
    margin: 0;
    font-size: 2em;
    font-weight: 700;
    letter-spacing: 0.6px;
}

.design-showcase-sub {
    margin: 12px auto 0;
    max-width: 760px;
    font-size: 1.02em;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 500;
}

.scroll-next-hint {
    display: inline-block;
    margin-top: 18px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    color: #f7b731;
    animation: hint-bob 1.6s ease-in-out infinite;
}

.scroll-next-hint:hover {
    color: #ffd46b;
}

@keyframes hint-bob {
    0% { transform: translateY(0); }
    50% { transform: translateY(4px); }
    100% { transform: translateY(0); }
}
.portfolio-section1 {
    padding: 10px 20px 30px 40px;
    text-align: center;
}

.section-title {
    font-size: 3em;
    margin-bottom: 50px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.portfolio-section .gallery-grid {
    align-items: center;
}

.portfolio-section .gallery-grid > h3 {
    margin: 0;
    align-self: center;
    line-height: 1.45;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.overlay span {
    color: #fff;
    font-size: 1.5em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.redesign-cover img {
    object-fit: cover;
}

.redesign-cover .overlay {
    opacity: 1;
    justify-content: flex-start;
    align-items: flex-end;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.18) 10%, rgba(0, 0, 0, 0.76) 100%);
    padding: 24px;
}

.redesign-cover .cover-copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
}

.redesign-cover .overlay span {
    font-size: 2em;
    letter-spacing: 1px;
    font-weight: 700;
    text-transform: uppercase;
}

.redesign-cover .cover-enter {
    font-style: normal;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.88);
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9em;
    min-width: 124px;
    text-align: center;
}

.redesign-cover:hover .cover-enter {
    background: rgba(255, 255, 255, 0.12);
}

.playground-copy {
    align-self: center;
    padding-top: 0;
    text-align: center;
}

.playground-copy h3 {
    margin: 0 0 24px;
    font-size: 1.8em;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: none;
}

.playground-copy p {
    margin: 0 auto;
    max-width: 880px;
    font-size: 1.17em;
    line-height: 1.45;
    font-weight: 700;
}

.project-heading {
    display: inline-block;
    font-size: 1.2em;
}

@media (max-width: 900px) {
    .playground-copy {
        padding-top: 8px;
    }
}

.home-cover-card .overlay {
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
    background: linear-gradient(105deg, rgba(18, 29, 24, 0.86) 0%, rgba(18, 29, 24, 0.55) 50%, rgba(18, 29, 24, 0.68) 100%);
}

.home-cover-copy {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 30px 34px 26px;
    gap: 0;
}

.home-cover-copy h4 {
    color: #ffffff;
    font-size: clamp(1.25rem, 2.1vw, 1.9rem);
    line-height: 1.12;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    margin: 0;
    max-width: 9ch;
}

.home-cover-copy p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.8rem;
    line-height: 1.42;
    max-width: 36ch;
    margin: 8px 0 0;
}

.home-cover-copy > h4,
.home-cover-copy > p {
    align-self: flex-start;
}

.home-cover-actions {
    display: flex;
    margin-top: 18px;
    align-items: flex-end;
    width: 100%;
    justify-content: flex-end;
}

.home-cover-card .cover-enter {
    min-width: 116px;
    border-radius: 4px;
    border: 2px solid #d87416;
    background: #d87416;
    color: #ffffff;
    padding: 8px 12px;
    font-size: 0.75rem;
    letter-spacing: 0.8px;
}

.home-cover-card .cover-enter.enter-main {
    margin-left: 0;
    min-width: 124px;
}

.home-cover-card:hover .cover-enter {
    background: #bc6515;
    border-color: #bc6515;
}




                    /*
                        --- About Section ---
                    */



.about-section {
    padding: 100px 20px;
    text-align: center;
}

.about-container {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 52px;
    justify-content: center;
    align-items: center;
    text-align: left;
}

.about-photo {
    flex: 0 0 380px;
    max-width: 380px;
    aspect-ratio: 1 / 1;
    margin: 0 0 30px 28px;
    border-radius: 12px;
    overflow: hidden;
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 62%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.about-text {
    flex: 0 0 700px;
    max-width: 700px;
    margin-left: 12px;
}

.about-text h3 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #f7b731;
}

.about-text p {
    font-size: 1.16em;
    line-height: 1.65;
    margin-bottom: 15px;
}

.contact-map-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
    padding: 20px 20px 16px;
    color: #f2f2f2;
    aspect-ratio: auto;
    height: auto;
    flex: 0 0 460px;
    max-width: 460px;
}

.contact-map-card h3 {
    font-size: 1.55rem;
    margin-bottom: 12px;
    color: #f7b731;
}

.contact-map-frame {
    width: 100%;
    height: 360px;
    border: 0;
    border-radius: 8px;
}

.contact-map-card p {
    margin: 10px 0 0;
    font-size: 0.96rem;
}

.contact-map-card a {
    color: #ffffff;
    text-decoration: underline;
}

.contact-form-wrap {
    flex: 0 0 590px;
    max-width: 590px;
    margin-left: 48px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.contact-form label {
    font-size: 1.15rem;
    font-weight: 600;
    color: #efefef;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: #f2f2f2;
    color: #111111;
    border: 2px solid #cbcbcb;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 1rem;
    font-family: inherit;
}

.contact-form input {
    min-height: 46px;
}

.contact-form textarea {
    min-height: 180px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #f7b731;
    box-shadow: 0 0 0 3px rgba(247, 183, 49, 0.24);
}

.contact-submit {
    width: 200px;
    min-height: 50px;
    margin-top: 8px;
    border: none;
    border-radius: 6px;
    background: #f7b731;
    color: #111111;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.contact-submit:hover {
    background: #ffd05d;
    transform: translateY(-1px);
}



                    /*
                        --- Contact Section ---
                    */



.contact-section {
    padding: 100px 20px;
}

.contact-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: flex-start;
}

.contact-info, .contact-form-container {
    flex: 1 1 400px;
}

.contact-info h3 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #f7b731;
}

.contact-info p {
    margin-bottom: 30px;
}

.contact-info ul {
    list-style: none;
}

.contact-info ul li {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.contact-info ul li i {
    color: #f7b731;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}



                    /*
                        --- Form Styles ---
                    */



.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #444;
    background-color: #222;
    color: #e6e6e6;
    border-radius: 5px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f7b731;
}

.contact-form-container .btn {
    width: 100%;
    text-align: center;
}



                    /*
                        --- Toast Notifications ---
                    */



.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 1.2em 2em;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #fff;
    z-index: 1000;
    font-weight: bold;
    transform: translateX(120%);
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.toast.active {
    transform: translateX(0);
}

.toast.hidden {
    display: none;
}

.toast i {
    font-size: 1.5em;
}

.toast p {
    margin: 0;
}

.success-toast {
    background-color: #4CAF50;
}

.error-toast {
    background-color: #f44336;
}



                    /*
                        --- Media Queries (Responsiveness) ---
                    */



@media (max-width: 768px) {
    .main-header {
        padding: 20px;
    }

    .logo {
        position: static;
        margin-right: auto;
    }

    .main-nav {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(13, 13, 13, 0.95);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
    }

    .main-nav.active {
        transform: translateX(0);
    }

    .main-nav ul {
        flex-direction: column;
        text-align: center;
    }

    .main-nav ul li {
        margin: 20px 0;
    }

    .menu-toggle {
        display: block;
        position: static;
        margin-left: auto;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
    }
    .about-text {
        text-align: center;
    }
    .contact-form-wrap {
        margin-left: 0;
        max-width: 100%;
        flex-basis: 100%;
    }
    .contact-form label,
    .contact-form-wrap h3 {
        text-align: left;
    }
    .contact-map-card {
        margin: 0 auto;
    }
    .contact-submit {
        width: 100%;
    }

    .section-title {
        font-size: 2em;
    }

    .toast {
        right: 50%;
        transform: translateX(120%) translateX(50%);
    }

    .toast.active {
        transform: translateX(50%);
    }
}
.about-photo img {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-photo img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 9999;
}

.skip-link:focus {
    left: 16px;
    top: 16px;
    width: auto;
    height: auto;
    padding: 10px 14px;
    background: #ffffff;
    color: #1f1f1f;
    border: 2px solid #d87416;
    font-weight: 700;
}
