:root {
    /* Color Palette derived from logos */
    --gold: #D4AF37;
    --gold-light: #F3E5AB;
    --brown-dark: #3E2723;
    --brown-medium: #5D4037;

    /* Base theme */
    --bg-dark: #121212;
    --bg-darker: #0a0a0a;
    --text-light: #F5F5F5;
    --text-muted: #B0BEC5;

    /* UI Elements */
    --glass-bg: rgba(18, 18, 18, 0.6);
    --glass-border: rgba(212, 175, 55, 0.15);

    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Glassmorphism Utilities */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 600;
    color: var(--text-light);
}

h1 {
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: 2rem;
}

p {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 300;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--brown-medium));
    color: white;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(10, 10, 10, 0.85);
    border-bottom: 1px solid var(--glass-border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--gold);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 30px;
    height: 2px;
    background-color: var(--text-light);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-logo {
    width: 100%;
    max-width: 900px;
    max-height: 70vh;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(212, 175, 55, 0.2));
}

.bounce {
    animation: bounce 3s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero p {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    margin-bottom: 3rem;
    color: var(--text-light);
}

/* Background Effects */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.gradient-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out alternate;
}

.sphere-1 {
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--brown-dark) 0%, transparent 70%);
    top: -20%;
    right: -10%;
}

.sphere-2 {
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
    bottom: -10%;
    left: -10%;
    animation-delay: -10s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-50px, 50px) scale(1.1);
    }
}



/* Projects Section */
.projects {
    padding: 8rem 0;
    background-color: var(--bg-darker);
}

.section-title {
    text-align: center;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.project-card {
    background: rgba(30, 30, 30, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(212, 175, 55, 0.3);
}

.project-image {
    height: 250px;
    background: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    border-bottom: 0;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.project-logo {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    z-index: 1;
    transition: transform 0.5s ease;
}

.project-card:hover .project-logo {
    transform: scale(1.05);
}

.project-info {
    padding: 2rem;
    transition: var(--transition);
}

.project-card:hover .project-info {
    background: rgba(212, 175, 55, 0.05);
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    transition: var(--transition);
}

.project-card:hover .project-info h3 {
    color: var(--gold);
}

/* Footer */
footer {
    padding: 2rem 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: none;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-brand p {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.footer-logo {
    height: 30px;
    width: auto;
    object-fit: contain;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
}