:root {
    --gold-primary: #D4AF37;
    --gold-light: #F3E5AB;
    --gold-dark: #AA8C2C;
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --black: #0A0A0A;
    --gray-dark: #1F1F1F;
    --gray-light: #E5E5E5;
    
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    
    --shadow-sm: 0 4px 14px 0 rgba(0,0,0,0.05);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
    --shadow-glow: 0 0 40px rgba(212, 175, 55, 0.2);
    
    --gradient-gold: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 50%, var(--gold-dark) 100%);
    --gradient-dark: linear-gradient(180deg, var(--black) 0%, var(--gray-dark) 100%);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
    will-change: opacity, transform;
}

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

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* Text Gradient Utility */
.text-gradient {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s var(--ease-out-expo);
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-sm);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
}

.nav-items {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 769px) {
    .nav-content {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }
    .brand {
        justify-self: start;
    }
    .nav-items {
        justify-self: center;
    }
    .nav-cta {
        justify-self: end;
    }
}

.nav-items a {
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 100px;
    transition: all 0.4s var(--ease-spring);
    cursor: pointer;
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--white);
    border: none;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

.btn-outline {
    background: transparent;
    color: var(--gold-primary);
    border: 1px solid rgba(212, 175, 55, 0.5);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.05);
    border-color: var(--gold-primary);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.2rem 3.5rem;
    font-size: 0.95rem;
}

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

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.8) 0%, rgba(250,250,250,1) 100%);
    backdrop-filter: blur(8px);
    z-index: 1;
}

/* Gradient Orbs */
.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    z-index: 0;
    animation: float 20s infinite alternate;
}
.orb-1 { width: 400px; height: 400px; background: rgba(212, 175, 55, 0.4); top: -100px; right: -100px; }
.orb-2 { width: 500px; height: 500px; background: rgba(0, 0, 0, 0.05); bottom: -150px; left: -100px; animation-delay: -5s; }

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

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    color: var(--black);
}

.hero p {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: var(--gray-dark);
    margin-bottom: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    max-width: 600px;
}

/* Common Section */
section {
    padding: 8rem 0;
}

.section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.divider {
    width: 60px;
    height: 2px;
    background-color: var(--gold-primary);
    margin: 1.5rem auto 0;
}

/* Trusted By */
.trusted-by {
    background-color: transparent;
    padding: 4rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
}

.trusted-by p {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    color: var(--gray-dark);
    margin-bottom: 2rem;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
}

.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--white) 0%, rgba(255, 255, 255, 0) 100%);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--white) 0%, rgba(255, 255, 255, 0) 100%);
}

.logo-grid {
    display: flex;
    align-items: center;
    gap: 6rem;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
    padding-left: 6rem; /* Match the gap */
}

.logo-grid:hover {
    animation-play-state: paused;
}

.logo-grid svg {
    height: 30px;
    width: auto;
    fill: currentColor;
    flex-shrink: 0;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* About */
.about {
    background-color: transparent;
    color: var(--black);
    text-align: center;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

/* Responsive Layout Adjustments */
@media (min-width: 768px) {
    .about-content {
        flex-direction: row;
        text-align: left;
    }
    .about-image {
        flex: 1;
        display: flex;
        justify-content: flex-end;
    }
    .about-text {
        flex: 1;
        display: flex;
        align-items: center;
    }
}

/* Mobile & Tablet Specific Adjustments */
@media (max-width: 992px) {
    .services-grid, .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        padding: 0;
    }
    section { padding: 6rem 0; }
}

@media (max-width: 768px) {
    
    .hero h1 { font-size: clamp(2.5rem, 8vw, 3.5rem); }
    .hero p { font-size: 1.1rem; }
    .btn-large { padding: 1rem 2.5rem; font-size: 0.9rem; }
    
    .services-grid, .portfolio-grid { grid-template-columns: 1fr; }
    .contact-info { flex-direction: column; gap: 3rem; }
    
    .logo-grid { gap: 3rem; padding-left: 3rem; }
    section { padding: 4rem 0; }
}

.about-image img {
    max-width: 100%;
    border-radius: 8px;
    border: 2px solid var(--gold-primary);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.02);
}

.about .about-text p {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--gray-dark);
}

/* Services */
.services {
    background-color: transparent;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 3rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    transition: all 0.5s var(--ease-spring);
    text-align: left;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03), inset 0 0 0 1px rgba(255,255,255,0.5);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top right, rgba(212,175,55,0.1) 0%, rgba(255,255,255,0) 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08), inset 0 0 0 1px rgba(212, 175, 55, 0.3);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-icon {
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--off-white);
    border-radius: 16px;
    transition: all 0.5s var(--ease-spring);
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--white);
    box-shadow: 0 8px 20px rgba(212,175,55,0.15);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
    color: var(--black);
}

.service-card p {
    color: var(--gray-dark);
    font-weight: 300;
    line-height: 1.7;
    opacity: 0.8;
}

/* Contact */
.contact {
    background: transparent;
    text-align: center;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 4rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item svg {
    margin-bottom: 1rem;
    background: var(--off-white);
    padding: 1rem;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    stroke: var(--gold-primary);
}

.contact-item .label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-primary);
    margin-bottom: 0.5rem;
}

.contact-item a {
    font-size: 1.2rem;
    color: var(--black);
    text-decoration: none;
    font-weight: 300;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--gold-primary);
}

/* Footer */
footer {
    background: transparent;
    color: var(--gray-dark);
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

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

.footer-col h4 {
    color: var(--black);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: var(--gray-dark);
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 300;
}

.footer-col ul li a:hover {
    color: var(--gold-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.admin-link {
    color: var(--gray-light);
    text-decoration: none;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.admin-link:hover {
    opacity: 1;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1000;
}
.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--black);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}
.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .mobile-menu-toggle { display: flex; }
    .nav-items, .nav-cta { display: none; }
    
    .navbar.menu-open {
        background: var(--white);
        box-shadow: var(--shadow-md);
    }
    .navbar.menu-open .nav-content {
        flex-wrap: wrap;
        height: auto;
        padding-bottom: 2rem;
    }
    .navbar.menu-open .nav-items { 
        display: flex !important; 
        flex-direction: column;
        width: 100%;
        text-align: center;
        margin-top: 1.5rem;
        gap: 1.5rem; 
    }
    .navbar.menu-open .nav-cta { 
        display: flex !important; 
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-top: 1.5rem;
    }
    .navbar.menu-open .nav-items a {
        display: block;
        padding: 0.5rem;
        font-size: 1.1rem;
        color: var(--black);
    }
    .contact-info { flex-direction: column; gap: 3rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
