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

:root {
    --primary: #05232A;
    --accent: #f5930f;
    --light: #F8F9FA;
    --white: #FFFFFF;
    --dark: #02181C;
    --secondary: #0A3D44;
    --text-main: #333333;
    --text-muted: #666666;
    --footer-muted: #88a0a4;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--white);
    color: var(--text-main);
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

/* Utilities */
.text-accent {
    color: var(--accent);
}

.cursor-pointer {
    cursor: pointer;
}

.rotate-text {
    transform: rotate(-90deg);
    font-size: 0.7rem;
    letter-spacing: 2px;
}

/* Custom Buttons */
.btn-primary-custom {
    background: var(--accent);
    color: var(--white);
    border: none;
    transition: var(--transition);
}

.btn-primary-custom:hover {
    background: #e55a2a;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.2);
    color: var(--white);
}

/* Header Refinement */
.navbar {
    transition: var(--transition);
}

.nav-link-custom {
    color: var(--text-muted) !important;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-link-custom:hover {
    color: var(--accent) !important;
}

.schedule {
    font-weight: 600;
    color: var(--primary);
    border-bottom: 2px solid var(--accent);
    text-decoration: none;
    padding-bottom: 2px;
}

.shadow-xs {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.hover-border-accent {
    transition: var(--transition);
}

.hover-border-accent:hover {
    border-color: var(--accent) !important;
}

.highlight-item {
    transition: var(--transition);
}

.highlight-item:hover {
    transform: translateX(5px);
    background: var(--light) !important;
}

.btn-accent-outline {
    border: 2px solid var(--accent);
    color: var(--accent);
    font-weight: 600;
    border-radius: 0;
    transition: var(--transition);
}

.btn-accent-outline:hover {
    background: var(--accent);
    color: var(--white);
}

/* Hero Section Refactor */
.hero {
    height: calc(100vh - 80px);
    min-height: 700px;
}

.hero-sidebar {
    background: var(--primary);
    width: 100px;
}

.hero-main {
    background: linear-gradient(135deg, rgba(8, 46, 54, 0.8), rgba(6, 68, 80, 0.6)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop') center/cover;
}

.hero-title {
    font-size: clamp(3.5rem, 10vw, 7rem);
    line-height: 0.9;
}

.next-project {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
}

.next-project i {
    transition: var(--transition);
}

.next-project:hover i {
    transform: translateX(10px);
}

.hero-overlay-img {
    bottom: -50px;
    right: 15%;
    width: 320px;
    height: 420px;
    object-fit: cover;
    z-index: 10;
}

/* Stats Section */
.stat-number {
    letter-spacing: -2px;
}

/* Developer Section */
.text-underline {
    border-bottom: 4px solid var(--accent);
    display: inline-block;
}

.dev-img-bg {
    top: 30px;
    left: -30px;
    width: 150px;
    height: 150px;
    background: var(--primary);
    z-index: -1;
}

/* Properties Section */
.section-header::after {
    content: '';
    width: 80px;
    height: 3px;
    background: var(--accent);
    display: block;
}

.reveal-card {
    transition: var(--transition);
}

.reveal-card:hover {
    transform: translateY(-10px);
}

/* Compare Section */
.nav-arrow {
    transition: var(--transition);
    z-index: 10;
}

.nav-arrow:hover {
    background: var(--accent) !important;
    color: var(--white);
}

.compare-img {
    transition: opacity 0.3s ease;
}

/* Expert Section */
.expert-img {
    height: 450px;
    object-fit: cover;
}

/* Footer Section */
.footer-bg {
    background: var(--dark);
}

.text-footer-muted {
    color: var(--footer-muted);
}

.text-footer-muted:hover {
    color: var(--white);
}

/* Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

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

/* Responsive Overrides */
@media (max-width: 991px) {
    .hero {
        height: auto;
    }

    .hero-main {
        padding-top: 100px !important;
        padding-bottom: 100px !important;
    }

    .hero-title {
        font-size: 4rem;
        text-align: center;
    }

    .next-project {
        justify-content: center;
    }

    .expert-img {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .display-4 {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 3rem;
    }
}