/* styles.css */

:root {
    --bg-color: rgba(6, 11, 6, 1);
    --text-color: #ffffff;
    --header-bg: transparent;
    --section-bg: rgba(0, 0, 0, 0);
    --service-bg: rgba(0, 0, 0, 0.7);
    --artwork-bg: rgba(0, 0, 0, 0.7);
    --link-cat-bg: rgba(0, 0, 0, 0.7);
    --top-bar-bg: transparent;
    --top-bar-border: transparent;
    --top-bar-hover: rgba(255, 255, 255, 0.15);
    --footer-bg: transparent;
    --h-color: #ffffff;
    --link-color: #00b7eb; /* Brighter for accessibility */
    --link-hover: #0288d1;
    --button-bg: #00b7eb;
    --button-hover: #0288d1;
    --shadow-color: rgba(0, 0, 0, 0.5);
    --shadow-small: rgba(0, 0, 0, 0.4);
    --glow-color: rgba(255, 255, 255, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Quicksand", sans-serif;
    line-height: 1.8;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    position: relative;
}

.no-scroll {
    overflow: hidden;
}

/* Video Background */
.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    animation: videoFadeIn 2s ease-in;
    transform: scale(1.05);
    will-change: transform, opacity;

}




.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
    z-index: -1;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.4);
}

/* Top Bar */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--top-bar-bg);
    border-bottom: 1px solid var(--top-bar-border);
    z-index: 1000;
    transition: background 0.8s ease, backdrop-filter 0.8s ease, border-bottom 0.8s ease, box-shadow 0.8s ease, transform 0.8s ease, width 0.8s ease;
}

@media (min-width: 768px) {
    .top-bar {
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 1280px;
        border-radius: 50px;
    }

    .top-bar.scrolled {
        top: 10px;
        width: 70%;

        background: rgba(6, 11, 6, 0.4);
        border-radius: 50px;
        box-shadow: 0 4px 15px var(--shadow-color);
	border: 1px solid var(--glow-color);
    }
}




.top-bar.scrolled {
    background: linear-gradient(to bottom, rgba(6, 11, 6, 0.4), rgba(6, 11, 6, 0.25));
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 8px var(--shadow-color);
	border-bottom: 1px solid var(--glow-color);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
}

.logo-subtext {
    font-size: 1rem;
    font-weight: 400;
    color: var(--link-color);
    opacity: 0;
    animation: fadeInSubtext 1s ease-out 0.5s forwards;
}

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

.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 2rem;
    cursor: pointer;
    padding: 12px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.hamburger:hover, .hamburger:focus {
    color: var(--link-color);
    transform: scale(1.1);
}

.close-menu {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 2.5rem;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.close-menu:hover, .close-menu:focus {
    color: var(--link-color);
    transform: scale(1.1);
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    will-change: transform, opacity;
}

.nav-links li {
    margin-left: 40px;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    position: relative;
    padding: 10px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-link:hover, .nav-link:focus, .nav-link[aria-current="page"] {
    color: var(--link-color);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 10px;
    background: var(--link-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link:focus::after, .nav-link[aria-current="page"]::after {
    width: calc(100% - 20px);
}

/* Header */
header {
    display: flex;
    align-items: center;
    justify-content:left;
    min-height: 100vh;
    background: var(--header-bg);
    padding: 80px 20px;
    position: relative;
    animation: fadeIn 1.5s ease-out;
}

.header-content {
    max-width: 600px;
    text-align: left;
    margin-left: 5%;
}

.title-animation {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

.subtitle-animation {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    color: var(--text-color);
    animation: pulse 2s infinite ease-in-out;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 0.7;
}

@keyframes pulse {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Sections */
section {
    max-width: 1280px;
    margin: 0px auto;
    padding: 50px;
    background: var(--section-bg);
    border-radius: 20px;
    /*box-shadow: 0 8px 25px var(--shadow-color);*/
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 4px;
    background: var(--link-color);
    bottom: -8px;
    left: 0;
    transition: width 0.3s ease;
}

section:hover .section-title::after {
    width: 100%;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    list-style: none;
    padding: 0;
}

.service-item {
    background: var(--service-bg);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow-small);
    backdrop-filter: blur(10px);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    will-change: transform, opacity;
}

.service-item.animate-item {
    animation: fadeInUp 0.6s ease-out forwards;
}

.service-item i {
    margin-right: 12px;
    font-size: 1.8rem;
    color: var(--link-color);
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px var(--shadow-color);
}

.artwork-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.artwork-item {
    background: var(--artwork-bg);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow-small);
    backdrop-filter: blur(10px);
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
    will-change: transform, opacity;
}

.artwork-item.animate-item {
    animation: fadeInUp 0.6s ease-out forwards;
}

.artwork-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px var(--shadow-color);
}

.artwork-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.artwork-item:hover .artwork-image {
    transform: scale(1.02);
    opacity: 0.95;
}

.artwork-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 12px;
}

.artwork-item p {
    font-size: 1rem;
    font-weight: 300;
    margin: 0;
}

.link-button {
    padding: 12px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    background: #C7D4A2;
    color: #3E5429;
    box-shadow: #8BC34A;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.link-button:hover, .link-button:focus {
    background: #F5E9BE;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.links-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.link-category {
    background: var(--link-cat-bg);
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow-small);
    backdrop-filter: blur(10px);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.link-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px var(--shadow-color);
}

.link-category h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.link-category ul {
    list-style: none;
    padding: 0;
}

.link-category li {
    margin-bottom: 15px;
}

.link-category a {
    color: var(--link-color);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 400;
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
}

.link-category a i {
    margin-right: 12px;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.link-category a:hover, .link-category a:focus {
    color: var(--link-hover);
    transform: translateX(5px);
}

.link-category a:hover i, .link-category a:focus i {
    transform: scale(1.2);
}

footer {
    text-align: center;
    padding: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
    backdrop-filter: blur(15px);
    border-top: 1px solid var(--glow-color);
    margin-top: 100px;
    font-size: 1rem;
    font-weight: 300;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-container {
        padding: 15px;
    }

    .nav-links li {
        margin-left: 25px;
    }

    .nav-link {
        font-size: 1.1rem;
    }

    .title-animation {
        font-size: 4rem;
    }

    .subtitle-animation {
        font-size: 1.4rem;
    }

    section {
        margin: 60px 20px;
        padding: 40px;
    }

    .artwork-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .close-menu {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.91);
        backdrop-filter: blur(20px);
        justify-content: center;
        align-items: center;
        margin: 0;
        opacity: 0;
        transform: scale(0.8);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

	.logo-text {
        font-size: 1.4rem;
    }

    .nav-links.active {
        display: flex;
        opacity: 1;
        transform: scale(1);
    }

    .nav-links li {
        margin: 25px 0;
    }

    .nav-link {
        font-size: 2rem;
        padding: 15px;
        transform: scale(1);
        transition: transform 0.3s ease, color 0.3s ease;
    }

    .nav-link:hover, .nav-link:focus {
        transform: scale(1.1);
    }

    .nav-link::after {
        left: 15px;
    }

    .header-content {
        max-width: 100%;
        margin-left: 5%;
        padding: 0 15px;
    }

    header {
        padding: 60px 15px;
        min-height: calc(100vh - 60px);
    }

    .title-animation {
        font-size: 3.2rem;
    }

    .subtitle-animation {
        font-size: 1.3rem;
        line-height: 1.5;
    }

    .scroll-indicator {
        font-size: 1.3rem;
    }

    section {
        margin: 50px 15px;
        padding: 30px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .services {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-item {
        padding: 20px;
        font-size: 1rem;
    }

    .artwork-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .artwork-item {
        padding: 20px;
    }

    .artwork-image {
        height: 160px;
    }

    .links-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .link-category {
        padding: 25px;
    }

    .link-category h3 {
        font-size: 1.6rem;
    }

    .link-category a {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 12px 15px;
    }

    .logo-text {
        font-size: 1.4rem;
    }

    .logo-subtext {
        font-size: 0.9rem;
    }

    .hamburger, .close-menu {
        font-size: 2rem;
    }

    .nav-link {
        font-size: 1.7rem;
    }

    header {
        padding: 50px 10px;
    }

    .title-animation {
        font-size: 2.5rem;
    }

    .subtitle-animation {
        font-size: 1.1rem;
    }

    .scroll-indicator {
        font-size: 1.2rem;
    }

    section {
        margin: 40px 10px;
        padding: 25px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-item {
        font-size: 0.9rem;
    }

    .artwork-item h3 {
        font-size: 1.3rem;
    }

    .artwork-item p {
        font-size: 0.9rem;
    }

    .artwork-image {
        height: 140px;
    }

    .link-button {
        padding: 10px 25px;
        font-size: 1rem;
    }

    .link-category h3 {
        font-size: 1.4rem;
    }

    .link-category a {
        font-size: 1rem;
    }

    footer {
        padding: 30px;
        font-size: 0.9rem;
    }
}
