@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Inter:wght@300;400;500&display=swap');

:root {
    --primary: #121212;
    --accent: #E2B13C;
    --accent-light: #F4D381;
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --bg-light: #FFFFFF;
    --glass: rgba(0, 0, 0, 0.8);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--primary);
}
::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: #0F172A; /* Solid Deep Blue background */
    transition: var(--transition);
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

header.scrolled {
    padding: 0.8rem 0;
}

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

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

.logo {
    display: flex;
    flex-direction: column;
}

.logo .brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo .sub {
    font-size: 0.7rem;
    color: var(--text-main);
    letter-spacing: 2px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    transition: var(--transition);
}

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

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

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

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('assets/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    line-height: 1.1;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 span {
    color: var(--accent);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-btns {
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(226, 177, 60, 0.3);
}

/* Services */
.services {
    padding: 8rem 0;
    background: var(--bg-light);
    color: var(--primary);
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header .divider {
    width: 80px;
    height: 4px;
    background: var(--accent);
    margin: 0 auto;
}

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

.service-card {
    background: #fff;
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid #f1f5f9;
    overflow: hidden; /* Ensure image corners are clipped */
    display: flex;
    flex-direction: column;
}

.service-img-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-img-container img {
    transform: scale(1.1);
}

.service-content {
    padding: 2rem;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.service-content i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
    display: block;
}

.service-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.service-card p {
    color: #64748b;
}

/* Gallery */
.gallery {
    padding: 8rem 0;
}

.gallery-slider {
    margin: 4rem 0;
    overflow: hidden;
    padding: 2rem 0;
}

.gallery-track {
    display: flex;
    gap: 1.5rem;
    padding: 0.75rem 0;
    width: max-content;
    will-change: transform;
}

.gallery-item {
    flex: 0 0 400px;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

/* Animations */
.track-1 { animation: slideLeft 40s linear infinite; }
.track-2 { animation: slideRight 45s linear infinite; }
.track-3 { animation: slideLeft 38s linear infinite; }

.gallery-slider:hover .gallery-track {
    animation-play-state: paused;
}

@keyframes slideLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-100% / 2)); }
}

@keyframes slideRight {
    0% { transform: translateX(calc(-100% / 2)); }
    100% { transform: translateX(0); }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .gallery-item {
        flex: 0 0 280px;
        height: 200px;
    }
}


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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

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

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

/* Contact */
.contact {
    padding: 8rem 0;
    background: #1a1a1a;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item i {
    color: var(--accent);
    font-size: 1.5rem;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--accent);
}

.contact-item p {
    color: var(--text-muted);
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 20px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

/* Footer */
.main-footer {
    padding: 4rem 0 2rem;
    background: #111111;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    max-width: 300px;
    font-size: 0.85rem;
}



.footer-links h3, .footer-contact h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-links li {
    margin-bottom: 1rem;
}

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

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-intro-text {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-contact-item i {
    color: var(--accent);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.footer-contact-item h4 {
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 0.1rem;
}

.footer-contact-item p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.4;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive Footer */
@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .main-footer {
        padding: 4rem 0 2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Menu Styles */
.menu-toggle {
    display: none;
    cursor: pointer;
    color: var(--accent);
    font-size: 1.5rem;
}

@media (max-width: 968px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: #0F172A; /* Match navigation bar blue */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease;
        z-index: 999;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

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

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .logo .brand {
        font-size: 1.2rem;
    }

    .logo .sub {
        font-size: 0.6rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .gallery-item {
        flex: 0 0 250px;
        height: 180px;
    }
}

/* Landscape mode for phones */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: auto;
        padding: 6rem 0;
    }
    .nav-links {
        width: 100%;
        padding-top: 5rem;
        justify-content: flex-start;
        overflow-y: auto;
    }
}

