@import 'reset.css';

/* Typography Setup */
body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-bg-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: var(--spacing-section) 0;
}

/* ============================================
   REVEAL ANIMATION (scroll-triggered)
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Stagger children in grids */
.services-grid .reveal:nth-child(2),
.gallery-grid .reveal:nth-child(2),
.values-list .reveal:nth-child(2) { transition-delay: 0.1s; }
.services-grid .reveal:nth-child(3),
.gallery-grid .reveal:nth-child(3),
.values-list .reveal:nth-child(3) { transition-delay: 0.15s; }
.services-grid .reveal:nth-child(4),
.gallery-grid .reveal:nth-child(4),
.values-list .reveal:nth-child(4) { transition-delay: 0.2s; }
.gallery-grid .reveal:nth-child(5),
.values-list .reveal:nth-child(5) { transition-delay: 0.25s; }
.gallery-grid .reveal:nth-child(6),
.values-list .reveal:nth-child(6) { transition-delay: 0.3s; }
.values-list .reveal:nth-child(7) { transition-delay: 0.35s; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 12px 32px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all var(--transition-fast);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background-color: #b5952f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    border-color: var(--color-text-inverse);
    color: var(--color-text-inverse);
}

.btn-outline:hover {
    background-color: var(--color-text-inverse);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 48px;
    font-size: 1rem;
    letter-spacing: 1px;
}

.link-arrow {
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.link-arrow:hover {
    color: var(--color-secondary);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: transparent;
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 12px 0;
    transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
    background-color: rgba(10, 25, 47, 0.97);
    padding: 8px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

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

/* Logo */
.logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-text-inverse);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

.logo span {
    color: var(--color-secondary);
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    line-height: 1.2;
}

/* Nav Links */
.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

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

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: width var(--transition-fast);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

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

/* Mobile Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1002;
}

.bar {
    width: 30px;
    height: 3px;
    background-color: var(--color-text-inverse);
    transition: 0.3s;
    border-radius: 2px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.9), rgba(10, 25, 47, 0.7)), url('../images/hero_bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--color-text-inverse);
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero-tagline {
    color: var(--color-secondary);
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-block;
    font-size: 0.9rem;
    padding: 6px 16px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 4px;
    background: rgba(212, 175, 55, 0.05);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    line-height: 1.15;
}

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

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

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.section-header .divider {
    height: 4px;
    width: 80px;
    background-color: var(--color-secondary);
    margin: 0 auto;
    border-radius: 2px;
}

.section-subtitle {
    margin-top: 15px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.7;
    font-size: 1.05rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    background-color: var(--color-bg-light);
}

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

.about-text h3 {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.about-text p {
    line-height: 1.8;
}

.why-us-card {
    background: var(--color-bg-gray);
    padding: 40px;
    border-left: 5px solid var(--color-secondary);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.why-us-card h4 {
    color: var(--color-primary);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.why-us-card ul {
    list-style: none;
}

.why-us-card li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.why-us-card li:last-child {
    margin-bottom: 0;
}

.check-icon {
    color: var(--color-secondary);
    margin-right: 15px;
    font-size: 1.2rem;
    font-weight: 700;
}

/* ============================================
   STATS COUNTER SECTION
   ============================================ */
.stats-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, #0d2240 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(90deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 80px),
        repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 80px);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    color: var(--color-text-inverse);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-secondary);
    display: inline;
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-secondary);
}

.stat-label {
    display: block;
    margin-top: 10px;
    font-size: 0.95rem;
    opacity: 0.85;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ============================================
   PARTNER LOGOS MARQUEE
   ============================================ */
.partners-section {
    background: var(--color-bg-light);
    padding: 40px 0;
    overflow: hidden;
}

.partners-label {
    text-align: center;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-light);
    margin-bottom: 25px;
    font-weight: 600;
}

.marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 60px;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.partner-logo {
    flex-shrink: 0;
    padding: 10px 30px;
    opacity: 0.45;
    transition: opacity var(--transition-fast);
    user-select: none;
    display: flex;
    align-items: center;
}

.partner-logo img {
    height: 45px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter var(--transition-fast);
}

.partner-logo:hover {
    opacity: 0.8;
}

.partner-logo:hover img {
    filter: grayscale(0%);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    background-color: var(--color-bg-gray);
}

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

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    border-top: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
    transform: scaleX(0);
    transition: transform var(--transition-fast);
    transform-origin: left;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-icon-wrap {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.05), rgba(212, 175, 55, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-icon {
    font-size: 2.2rem;
    color: var(--color-primary);
}

.service-card h3 {
    color: var(--color-primary);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.service-card p {
    line-height: 1.7;
    color: var(--color-text-light);
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery-section {
    background-color: var(--color-bg-gray);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 16 / 10;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 25, 47, 0.85) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.gallery-overlay span {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

/* ============================================
   VALUES SECTION (RESPECT) — redesign
   ============================================ */
.values-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, #0d2240 100%);
    color: var(--color-text-inverse);
    position: relative;
    overflow: hidden;
}

.values-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 80%, rgba(212, 175, 55, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 90% 20%, rgba(212, 175, 55, 0.04) 0%, transparent 40%);
    pointer-events: none;
}

/* Big RESPECT word display */
.respect-word {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.respect-word span {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 2px rgba(212, 175, 55, 0.3);
    line-height: 1;
    transition: all var(--transition-fast);
}

.respect-word span:hover {
    color: var(--color-secondary);
    -webkit-text-stroke: 2px var(--color-secondary);
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

/* Values list — horizontal rows */
.values-list {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.value-row {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: padding-left var(--transition-fast);
}

.value-row:last-child {
    border-bottom: none;
}

.value-row:hover {
    padding-left: 10px;
}

.value-letter-box {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--color-secondary), #b5952f);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    flex-shrink: 0;
}

.value-info h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: white;
}

.value-info p {
    font-size: 0.9rem;
    opacity: 0.65;
    line-height: 1.5;
    margin-bottom: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: var(--color-bg-light);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content h2 {
    color: var(--color-primary);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    color: var(--color-text-light);
    font-size: 1.1rem;
    max-width: 550px;
    margin: 0 auto 35px;
    line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background-color: #050d18;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.footer-logo .logo {
    font-size: 1.3rem;
    margin-bottom: 0;
}

.footer-desc {
    opacity: 0.7;
    line-height: 1.8;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-links h3,
.footer-contact h3 {
    color: var(--color-secondary);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-fast), padding-left var(--transition-fast);
}

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

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

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
    opacity: 0.8;
    line-height: 1.6;
}

.footer-icon {
    color: var(--color-secondary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.copyright {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
    opacity: 0.5;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 75%;
        background-color: var(--color-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }

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

    .nav-links a {
        font-size: 1.2rem;
    }

    .nav-links a:not(.btn)::after {
        display: none;
    }

    /* Hero */
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .hero-buttons .btn {
        text-align: center;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    /* Services — 2 columns on tablet/mobile */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    /* Values RESPECT */
    .respect-word span {
        font-size: 2.5rem;
        gap: 6px;
    }

    .respect-word {
        gap: 6px;
    }

    /* CTA */
    .cta-content h2 {
        font-size: 1.8rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Section headers */
    .section-header h2 {
        font-size: 2rem;
    }

    /* Hamburger Animation */
    .menu-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .logo-text {
        font-size: 0.9rem;
    }

    .logo-img {
        height: 35px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

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

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

    .respect-word span {
        font-size: 1.8rem;
    }

    .respect-word {
        gap: 4px;
        margin-bottom: 30px;
    }

    .value-row {
        gap: 15px;
    }

    .value-letter-box {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }

    .btn-lg {
        padding: 14px 32px;
        font-size: 0.9rem;
    }
}
