@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #d97706;
    --primary-hover-color: #b45309;
    --secondary-color: #a0aec0;
    --light-color: #2d3748;
    --dark-color: #e2e8f0;
    --white-color: #1a202c;

    --body-font: 'Poppins', sans-serif;
    --heading-font: 'Poppins', sans-serif;
    --standard-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    --transition-main: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--body-font);
    line-height: 1.7;
    color: var(--dark-color);
    background-color: var(--white-color);
    overflow-x: hidden;
}

.wrap {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 600;
    color: var(--dark-color);
    line-height: 1.3;
    margin-bottom: 12px;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; text-align: center; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

.head {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(26, 32, 44, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

header .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

header .nav .brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

header .menu {
    display: flex;
    gap: 30px;
}

header .link {
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

header .link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

header .link:hover,
header .link.current {
    color: var(--primary-color);
}

header .link:hover::after,
header .link.current::after {
    width: 100%;
}

.burger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.line {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--dark-color);
    border-radius: 2px;
    transition: all 0.35s ease-in-out;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color var(--transition-main);
}

a:hover {
    color: var(--primary-hover-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.pad-sec {
    padding-top: 80px;
    padding-bottom: 80px;
}

.bg-light {
    background-color: var(--light-color);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-main);
    border: 2px solid transparent;
    text-align: center;
    margin: 5px;
  
}


.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.work-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.work-item:hover img {
    transform: scale(1.1);
}

.work-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--primary-color-rgb, 217, 119, 6), 0.85);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.35s ease;
    padding: 20px;
}


.work-item:hover .work-cover {
    opacity: 1;
}

.work-cover h3,
.work-cover p,
.work-cover .work-link {
    transform: translateY(15px);
    transition: transform 0.35s ease;
}

.work-item:hover .work-cover h3 {
    transition-delay: 0.1s;
    transform: translateY(0);
}

.work-item:hover .work-cover p {
    transition-delay: 0.2s;
    transform: translateY(0);
}

.work-item:hover .work-cover .work-link {
    transition-delay: 0.3s;
    transform: translateY(0);
}


.work-cover h3 {
    color: #ffffff;
    margin-bottom: 8px;
}

.work-cover p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: #e5e7eb;
}

.work-link {
    color: #fff;
    border: 1px solid #fff;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.work-link:hover {
    background-color: #fff;
    color: var(--primary-hover-color);
}



.foot {
    background-color: color-mix(in srgb, var(--white-color) 85%, black);
    color: var(--secondary-color);
    padding-top: 60px;
}

.foot-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.foot-about .brand {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: inline-block;
}

.foot-about p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.social a {
    color: var(--secondary-color);
    font-size: 1.25rem;
    margin-right: 18px;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.social a:last-child {
    margin-right: 0;
}

.social a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.foot h4 {
    color: var(--dark-color);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.foot h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--primary-color);
}

.foot-links ul li {
    margin-bottom: 12px;
}

.foot-links ul li a {
    color: var(--secondary-color);
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.foot-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 6px;
}

.foot-reach p {
    font-size: 0.9rem;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    color: var(--secondary-color);
}

.foot-reach p i {
    color: var(--primary-color);
    margin-right: 12px;
    width: 18px;
    text-align: center;
    margin-top: 3px;
}

.foot-bottom {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 18px 0;
    text-align: center;
    font-size: 0.85rem;
    margin-top: 40px;
}

.foot-bottom p {
    margin: 0;
    color: var(--secondary-color);
}


@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes popIn {
    0% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(35px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-55px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(55px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.effect-fade { animation: fadeIn 0.8s ease-out forwards; opacity: 0; }
.effect-pop { animation: popIn 0.65s ease-out forwards; opacity: 0; }
.effect-up { animation: slideUp 0.75s ease-out forwards; opacity: 0; }
.effect-left { animation: slideInLeft 0.8s ease-out forwards; opacity: 0; }
.effect-right { animation: slideInRight 0.8s ease-out forwards; opacity: 0; }
.effect-zoom { animation: zoomIn 0.7s ease-out forwards; opacity: 0; }

.wait-1 { animation-delay: 0.2s; }
.wait-2 { animation-delay: 0.4s; }
.wait-3 { animation-delay: 0.6s; }
.wait-4 { animation-delay: 0.8s; }


@media (max-width: 991.98px) {
    html { font-size: 15px; }

    .menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white-color);
        width: 100%;
        height: calc(100vh - 70px);
        text-align: center;
        transition: left 0.35s ease;
        box-shadow: 0 10px 20px rgba(0,0,0,0.25);
        gap: 0;
        overflow-y: auto;
        padding-top: 20px;
    }

    .menu.active {
        left: 0;
    }

    .menu li {
        width: 100%;
        border-bottom: 1px solid var(--light-color);
    }

    .menu li:last-child { border-bottom: none; }

    .link {
        display: block;
        padding: 1.4rem 1rem;
        color: var(--dark-color);
    }
    .link:hover {
        color: var(--primary-color);
        background-color: var(--light-color);
    }


    .link::after { display: none; }

    .burger { display: block; }

    .burger.active .line:nth-child(2) { opacity: 0; }
    .burger.active .line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .burger.active .line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

}

@media (max-width: 767.98px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .pad-sec { padding: 60px 0; }

    .work-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

    .foot-box { grid-template-columns: 1fr; text-align: center; }
    .foot h4 { text-align: center; }
    .foot h4::after { left: 50%; transform: translateX(-50%); }
    .foot-reach p { justify-content: center; }
    .social { margin-bottom: 1.5rem; padding-left: 0; text-align: center; }
}

@media (max-width: 575.98px) {
    html { font-size: 14px; }
    .wrap { padding: 0 12px; }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }

    .work-grid { grid-template-columns: 1fr; }
}
