/* --- Variables & Reset --- */
:root {
    --primary-color: #0b2545; /* Deep Navy Blue */
    --secondary-color: #d4af37; /* Elegant Gold */
    --accent-color: #134074;
    --text-dark: #1a1a1a;
    --text-light: #f5f5f5;
    --text-muted: #737373;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 8px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

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

/* --- Typography --- */
.section-tag {
    display: inline-block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    padding-left: 40px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
    transform: translateY(-50%);
}

.section-title {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--text-light);
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-block {
    display: block;
    width: 100%;
}

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

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    padding: 15px 0;
}

.navbar.scrolled .logo-text,
.navbar.scrolled .nav-menu li a,
.navbar.scrolled .menu-toggle {
    color: var(--primary-color);
}

.navbar.scrolled .contact-btn {
    background-color: var(--primary-color);
    color: white;
}

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

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

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    line-height: 1;
    letter-spacing: 1px;
}

.logo-subtext {
    font-size: 0.8rem;
    color: var(--secondary-color);
    letter-spacing: 4px;
    font-weight: 500;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu li a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding-bottom: 5px;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

.contact-btn {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1541888081622-38501235b2e9?q=80&w=2070&auto=format&fit=crop') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(11, 37, 69, 0.9) 0%, rgba(11, 37, 69, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--text-light);
    max-width: 800px;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* --- Stats Section --- */
.stats {
    background-color: var(--primary-color);
    padding: 60px 0;
    margin-top: -50px;
    position: relative;
    z-index: 20;
}

.stats-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-box {
    flex: 1;
    min-width: 200px;
    text-align: center;
    color: var(--text-light);
}

.stat-box i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 5px;
}

.stat-box p {
    color: rgba(255,255,255,0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- About Section --- */
.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-content {
    flex: 1;
}

.about-text {
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.about-list {
    margin: 30px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.about-list i {
    color: var(--secondary-color);
}

.about-image-wrapper {
    flex: 1;
    position: relative;
}

.about-image {
    width: 100%;
    height: 500px;
    background: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?q=80&w=1931&auto=format&fit=crop') center/cover no-repeat;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background-color: var(--primary-color);
    color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 30px rgba(11, 37, 69, 0.3);
}

.experience-badge .years {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--secondary-color);
}

.experience-badge .text {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- Projects Section --- */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    background: transparent;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 20px;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    cursor: pointer;
}

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

.project-img {
    height: 250px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

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

.img-1 { background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop'); }
.img-2 { background-image: url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?q=80&w=2000&auto=format&fit=crop'); }
.img-3 { background-image: url('https://images.unsplash.com/photo-1599395213619-3ee2d80d2836?q=80&w=1956&auto=format&fit=crop'); }

.project-info {
    padding: 25px;
    position: relative;
    background: white;
    z-index: 2;
}

.project-status {
    font-size: 0.8rem;
    font-weight: 600;
    color: #2e7d32;
    background: rgba(46, 125, 50, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 10px;
}

.project-status.in-progress {
    color: #ed6c02;
    background: rgba(237, 108, 2, 0.1);
}

.project-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.project-link {
    font-weight: 600;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-link:hover {
    gap: 12px;
}

/* --- Contact Section --- */
.contact-container {
    display: flex;
    gap: 60px;
}

.contact-info {
    flex: 1;
}

.contact-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

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

.contact-text a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.contact-form-wrapper {
    flex: 1;
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-form h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* --- Footer --- */
.footer {
    background-color: #05162a;
    color: rgba(255,255,255,0.7);
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a:hover {
    color: white;
}

/* --- Animations --- */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards ease-out;
}

.animate-fade {
    opacity: 0;
    animation: fadeIn 1s forwards ease-out;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .about-container,
    .contact-container {
        flex-direction: column;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .experience-badge {
        left: 20px;
        bottom: -20px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 100px 30px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: 0.4s ease;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li a {
        color: var(--primary-color);
        font-size: 1.2rem;
    }
    
    .menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    .navbar.scrolled .menu-toggle {
        color: var(--primary-color);
    }
    
    .menu-toggle.active {
        color: var(--primary-color);
    }
    
    .nav-contact {
        display: none;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .stats-container {
        gap: 20px;
    }
    
    .stat-box {
        min-width: 45%;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
