/* ===== CSS Variables ===== */
:root {
    /* Navy Blue from logo "YAK" */
    --primary-color: #1a2a6c;
    --primary-dark: #111d4a;
    --primary-light: #2a3d8f;
    /* Red from logo "LEEN" */
    --accent-color: #b91c1c;
    --accent-dark: #991b1b;
    --accent-light: #dc2626;
    --secondary-color: #1a2a6c;
    --text-color: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #e9ecef;
    --border-color: #dee2e6;

    --font-primary: 'Poppins', sans-serif;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.15);

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    --border-radius: 8px;
    --border-radius-lg: 16px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== Utility Classes ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.section-description {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

/* ===== Image Placeholders ===== */
.image-placeholder {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--border-color) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 200px;
    color: var(--text-muted);
    font-weight: 500;
    border-radius: var(--border-radius);
}

.image-placeholder span {
    font-size: 16px;
}

.image-placeholder p {
    font-size: 12px;
    margin-top: 5px;
}

.image-placeholder.circle {
    border-radius: 50%;
    min-height: 150px;
    width: 150px;
    height: 150px;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;
    transition: all var(--transition-normal);
}

.header.scrolled {
    background-color: var(--white);
    box-shadow: var(--shadow-md);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    padding-bottom: 20px;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
    line-height: 1.2;
    flex-shrink: 0;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
    /* Remove white background by blending with dark header */
    mix-blend-mode: multiply;
    background: transparent;
}

/* When header is scrolled (white bg), show logo normally */
.header.scrolled .logo-img {
    mix-blend-mode: normal;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 3px;
    transition: color var(--transition-normal);
}

.logo-sub {
    font-size: 10px;
    font-weight: 500;
    color: var(--accent-color);
    letter-spacing: 2px;
}

.header.scrolled .logo-text {
    color: var(--primary-color);
}

/* Navigation */
.nav-list {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--white);
    position: relative;
    padding: 5px 0;
    transition: color var(--transition-normal);
}

.header.scrolled .nav-link {
    color: var(--text-color);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header.scrolled .nav-link::after {
    background-color: var(--primary-color);
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    color: var(--text-color);
    transition: all var(--transition-fast);
}

.dropdown-menu li a:hover {
    background-color: var(--off-white);
    color: var(--primary-color);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--white);
    transition: all var(--transition-normal);
}

.header.scrolled .nav-toggle span {
    background-color: var(--text-color);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 90px; /* Account for fixed header */
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity var(--transition-slow);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 90px; /* Account for fixed header */
    background-size: cover;
    background-position: center;
}

.hero-slide:nth-child(1) {
    background-image: url('assets/images/hero/slide1.jpg');
}

.hero-slide:nth-child(2) {
    background-image: url('assets/images/hero/slide2.jpg');
}

.hero-slide:nth-child(3) {
    background-image: url('assets/images/hero/slide3.jpg');
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Navy blue gradient overlay - keeps the blue vibe while showing images */
    background: linear-gradient(
        135deg,
        rgba(26, 42, 108, 0.85) 0%,
        rgba(17, 29, 74, 0.8) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero-subtitle {
    display: block;
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 8px;
    margin-bottom: 15px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-slide.active .hero-subtitle {
    animation-delay: 0.2s;
}

.hero-title {
    font-size: 72px;
    font-weight: 700;
    letter-spacing: 5px;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-slide.active .hero-title {
    animation-delay: 0.4s;
}

.hero-description {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 35px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-slide.active .hero-description {
    animation-delay: 0.6s;
}

.hero-slide.active .btn {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.8s;
}

.hero-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-nav-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--white);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
}

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

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

/* ===== About Section ===== */
.about {
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-image .image-placeholder {
    min-height: 400px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 16px;
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
}

.feature-icon svg {
    width: 20px;
    height: 20px;
}

.feature span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
}

/* ===== CEO Message Section ===== */
.ceo-message {
    background-color: var(--off-white);
}

.ceo-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.ceo-quote {
    position: relative;
    padding: 40px;
}

.quote-icon {
    color: var(--primary-color);
    opacity: 0.2;
    margin-bottom: 20px;
}

.ceo-quote p {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.ceo-info {
    margin-top: 40px;
}

.ceo-image {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.ceo-photo {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-md);
}

.ceo-info h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
}

.ceo-info p {
    font-size: 14px;
    color: var(--text-muted);
}

/* ===== Core Values Section ===== */
.values {
    background-color: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-card {
    text-align: center;
    padding: 40px 25px;
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-normal);
    border: 1px solid var(--light-gray);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.value-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background-color: var(--off-white);
    border-radius: 50%;
    color: var(--primary-color);
    transition: all var(--transition-normal);
}

.value-card:hover .value-icon {
    background-color: var(--primary-color);
    color: var(--white);
}

.value-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.value-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* ===== Services Section ===== */
.services {
    background-color: var(--off-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

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

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

.service-image .image-placeholder {
    min-height: 200px;
    border-radius: 0;
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.service-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== Team Section ===== */
.team {
    background-color: var(--white);
}

.team-intro {
    text-align: center;
    max-width: 600px;
    margin: -40px auto 50px;
    color: var(--text-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

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

.team-image {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.team-photo {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--light-gray);
    transition: all var(--transition-normal);
}

.team-card:hover .team-photo {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.team-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.team-card p {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
}

/* ===== Gallery Section ===== */
.gallery {
    background-color: var(--off-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition-normal);
}

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

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-item .image-placeholder {
    min-height: 250px;
}

/* ===== Contact Section ===== */
.contact {
    background-color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.contact-details p {
    font-size: 15px;
    color: var(--text-light);
}

.contact-details a {
    color: var(--text-light);
}

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

/* Contact Form */
.contact-form {
    background-color: var(--off-white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    font-family: var(--font-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--white);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 115, 119, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
    padding: 16px;
}

/* ===== Footer ===== */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-links h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast);
}

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

.footer-bottom {
    padding: 25px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .section-title {
        font-size: 36px;
    }

    .hero-title {
        font-size: 56px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }

    .section-title {
        font-size: 30px;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--white);
        padding: 80px 30px 30px;
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-normal);
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .nav-link {
        color: var(--text-color);
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid var(--light-gray);
        width: 100%;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .logo-img {
        height: 40px;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding-left: 15px;
        display: none;
    }

    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown.active .dropdown-menu {
        display: block;
    }

    .hero-title {
        font-size: 40px;
        letter-spacing: 2px;
    }

    .hero-subtitle {
        font-size: 14px;
        letter-spacing: 4px;
    }

    .hero-description {
        font-size: 16px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        margin-bottom: 20px;
    }

    .footer-brand .logo {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 35px;
    }

    .hero-title {
        font-size: 32px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 25px;
    }
}
