/* --- Base Styles --- */
:root {
    --primary-color: #FDB813; /* Gold/Amber from logo */
    --secondary-color: #1a1a1a; /* Dark Gray from ref */
    --bg-dark: #0f0f0f;
    --text-white: #ffffff;
    --text-gray: #b3b3b3;
    --accent-color: #fdd061;
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    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-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- Mobile Menu --- */
#mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-dark);
    z-index: 2000;
    padding: 80px 40px;
    transition: var(--transition-smooth);
    display: none !important; /* Force hide on desktop */
    flex-direction: column;
    gap: 40px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
}

#mobile-menu.active {
    display: flex !important;
    right: 0;
}

.menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-links a {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

.mobile-socials {
    display: flex;
    gap: 20px;
    font-size: 24px;
}

.mobile-socials a ion-icon {
    color: var(--text-white);
}

img {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

/* --- Preloader --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 1s ease, visibility 1s ease;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    width: 240px;
    opacity: 0;
    animation: wipeReveal 1.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    filter: drop-shadow(0 0 15px rgba(253, 184, 19, 0.2));
}

.loader-bar {
    width: 180px;
    height: 2px;
    background: rgba(255,255,255,0.05);
    margin: 20px auto;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.loader-bar::after {
    content: '';
    position: absolute;
    left: -100%;
    width: 50%;
    height: 100%;
    background: var(--primary-color);
    animation: loading 1.5s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes wipeReveal {
    0% {
        opacity: 0;
        clip-path: inset(100% 0 0 0);
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
        transform: translateY(0) scale(1);
    }
}

@keyframes loading {
    0% { left: -50%; width: 50%; }
    50% { left: 25%; width: 50%; }
    100% { left: 100%; width: 50%; }
}

body.loaded #preloader {
    opacity: 0;
    visibility: hidden;
}

/* --- Header --- */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}

#main-header.scrolled {
    background: rgba(15, 15, 15, 0.95);
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.desktop-only {
    display: flex !important;
}

.mobile-only {
    display: none !important;
}

.header-info {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--text-gray);
    border-right: 1px solid rgba(255,255,255,0.1);
    padding-right: 20px;
}

.logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.desktop-nav ul {
    display: flex;
    gap: 25px;
}

.desktop-nav a {
    font-weight: 500;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.desktop-nav a:hover {
    color: var(--primary-color);
}

.header-info {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--text-gray);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.info-item ion-icon {
    color: var(--primary-color);
}

.hamburger {
    cursor: pointer;
    display: none;
    flex-direction: column;
    gap: 6px;
}

.hamburger span {
    width: 30px;
    height: 2px;
    background: var(--text-white);
    transition: var(--transition-smooth);
}

/* --- Dropdown Styles --- */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-dark);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-smooth);
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-top: 2px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    text-transform: none;
    font-size: 14px;
    color: var(--text-gray);
    letter-spacing: 0;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-toggle ion-icon {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle ion-icon {
    transform: rotate(180deg);
}

/* --- Mobile Submenu --- */
.mobile-dropdown-title {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 0;
}

.mobile-submenu.active {
    max-height: 500px;
    margin-top: 20px;
}

.mobile-submenu a {
    font-size: 16px !important;
    text-transform: none !important;
    color: var(--text-gray);
}

/* --- Values Section --- */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-card {
    background: #1a1a1a;
    padding: 40px;
    text-align: center;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255,255,255,0.05);
}

.value-card:hover {
    background: #222;
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.value-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-white);
}

.value-card p {
    font-size: 15px;
    color: var(--text-gray);
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.slider {
    height: 100%;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
    animation: kenBurns 10s infinite alternate;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.4), rgba(0,0,0,0.8));
}

.slide-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.slide-content h1 {
    font-size: clamp(40px, 8vw, 90px);
    margin-bottom: 20px;
    letter-spacing: 5px;
}

.slide-content h1 span {
    color: var(--primary-color);
}

.slide-content p {
    font-size: 20px;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-gray);
}

@keyframes kenBurns {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 15px 40px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0;
    font-size: 14px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.btn-primary:hover {
    background: white;
}

.btn-outline {
    border: 2px solid white;
    color: white;
    margin-left: 15px;
}

.btn-outline:hover {
    background: white;
    color: var(--secondary-color);
}

/* --- Common Elements --- */
.subtitle {
    color: var(--primary-color);
    letter-spacing: 3px;
    margin-bottom: 15px;
    display: block;
    font-weight: 600;
}

.section-title {
    font-size: clamp(30px, 5vw, 45px);
    margin-bottom: 50px;
    line-height: 1.2;
}

.section-title span {
    color: var(--primary-color);
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* --- About Section Extensions --- */
.about-image {
    position: relative;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 30px;
    display: flex;
    flex-direction: column;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.experience-badge .num {
    font-size: 40px;
    font-weight: 800;
}

.about-features {
    margin: 30px 0;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.about-features ion-icon {
    color: var(--primary-color);
    font-size: 20px;
}

/* --- Projects Section --- */
.projects {
    background-color: var(--bg-dark);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.project-item {
    position: relative;
    overflow: hidden;
    height: 400px;
    cursor: pointer;
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    transform: translateY(100%);
    transition: var(--transition-smooth);
}

.project-item:hover .project-info {
    transform: translateY(0);
}

.project-item:hover img {
    transform: scale(1.1);
}

.project-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.project-info p {
    color: var(--primary-color);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Animations --- */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-text {
    opacity: 0;
    transform: translateY(30px);
}

.slide.active .reveal-text {
    animation: fadeInUp 1s forwards cubic-bezier(0, 0.55, 0.45, 1);
}

.delay-1 { animation-delay: 0.3s !important; }
.delay-2 { animation-delay: 0.6s !important; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* --- Footer Extensions --- */
footer {
    padding: 80px 0 30px;
    background: #0a0a0a;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 80px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 25px;
}

.footer-grid h4 {
    color: var(--primary-color);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--text-white);
    transition: var(--transition-smooth);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--text-gray);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a ion-icon {
    color: var(--text-white);
    font-size: 24px;
    transition: var(--transition-smooth);
}

.social-links a:hover ion-icon {
    color: var(--primary-color);
}

.footer-bottom {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    color: var(--text-gray);
    font-size: 14px;
}

/* --- Internal Pages --- */
.page-banner {
    height: 400px;
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
}

.page-banner h1 {
    font-size: 50px;
    z-index: 2;
    position: relative;
}

.breadcrumb {
    z-index: 2;
    position: relative;
    font-size: 14px;
    margin-top: 10px;
    color: var(--text-gray);
}

.breadcrumb a {
    color: var(--primary-color);
}

.corporate-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
}

.side-nav {
    position: sticky;
    top: 120px;
    background: #1a1a1a;
    padding: 30px;
    border-left: 3px solid var(--primary-color);
}

.side-nav ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.side-nav a {
    font-size: 16px;
    color: var(--text-gray);
    transition: var(--transition-smooth);
    display: block;
}

.side-nav a:hover, .side-nav a.active {
    color: var(--primary-color);
    padding-left: 10px;
}

.tc { text-align: center; }

@media (max-width: 991px) {
    .grid-4 {
        grid-template-columns: 1fr 1fr;
    }
    .corporate-layout {
        grid-template-columns: 1fr;
    }
    .page-banner {
        height: 300px;
    }
    .page-banner h1 {
        font-size: 35px;
    }
}

@media (max-width: 576px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
}
/* --- Contact Page Specifics --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.contact-form-side h2, .contact-info-side h2 {
    margin-bottom: 20px;
}
.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    background-color: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 5px;
    color: var(--text-white);
    font-family: 'Montserrat', sans-serif;
    outline: none;
    transition: var(--transition);
}
.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--primary-color);
}
.map-container {
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}
/* --- Project Single Layout --- */
.project-single-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}
.gallery-thumbs img {
    transition: var(--transition-smooth);
}
.gallery-thumbs img:hover {
    opacity: 0.8;
    transform: scale(1.05);
}
@media (max-width: 991px) {
    .project-single-layout {
        grid-template-columns: 1fr;
    }
}
.project-gallery > img {
    transition: opacity 0.15s ease-in-out;
}
