@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Space+Mono:ital@0;1&display=swap');

:root {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --accent-red: #D32F2F;
    --accent-black: #111111;
    --text-primary: #1A1A1A;
    --text-secondary: #555555;
    --overlay-dark: rgba(0, 0, 0, 0.6);
    --overlay-light: rgba(255, 255, 255, 0.8);
    
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --font-accent: 'Space Mono', monospace;

    --container-max: 1280px;
    --section-pad-desktop: 100px;
    --section-pad-mobile: 60px;
    
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-primary);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .heading-font {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

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

ul {
    list-style: none;
}

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

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

/* --- UI COMPONENTS --- */

/* ========================
   HEADER & NAVIGATION
======================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-smooth);
    background: #fff;
}

header.scrolled {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(211, 47, 47, 0.1);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-red);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    position: relative;
    z-index: 1100;
}

.logo i {
    font-style: normal;
    color: var(--text-primary);
}

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

.footer-logo .logo-img {
    height: 65px;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    color: var(--accent-black);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-red);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-red);
    transition: var(--transition-smooth);
}

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

/* Hamburger toggle */
.mobile-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    position: relative;
    z-index: 1100;
    padding: 8px;
    -webkit-tap-highlight-color: transparent;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--accent-black);
    transition: var(--transition-smooth);
    transform-origin: center;
}

/* Hamburger → X animation */
.mobile-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ========================
   BUTTONS
======================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 0;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent-red);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-black);
    transform: translateY(-3px);
}

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

.btn-outline:hover {
    background: var(--accent-black);
    color: #fff;
    transform: translateY(-3px);
}

/* ========================
   GLASS CARDS
======================== */
.glass-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 40px;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.glass-card:hover {
    border-color: var(--accent-red);
    transform: translateY(-5px);
}

/* ========================
   HERO SLIDER
======================== */
.hero-slider {
    width: 100%;
    height: 100vh;
    min-height: 500px;
    position: relative;
    overflow: hidden;
    background: #000;
    isolation: auto;
}

.swiper-slide {
    position: relative;
    overflow: hidden;
    background: #000;
}

/* Blurred background layer — fills any letterbox gaps */
.slide-bg {
    position: absolute;
    inset: -20px;
    background-size: cover;
    background-position: center;
    filter: blur(18px) brightness(0.4) saturate(1.2);
    transform: scale(1.1);
    z-index: 0;
    pointer-events: none;
}

/* Main image — shows fully without any crop */
.slide-image {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    z-index: 1;
}

.slide-content {
    position: absolute;
    bottom: 10%;
    left: 5%;
    right: 5%;
    z-index: 10;
    max-width: 680px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s;
}

.swiper-slide-active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.slide-content h2 {
    font-size: clamp(28px, 5vw, 64px);
    margin-bottom: 16px;
    line-height: 1.1;
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: clamp(14px, 2vw, 18px);
    color: rgba(255,255,255,0.85);
    margin-bottom: 24px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}

.slide-content .section-tagline {
    color: var(--accent-red);
    text-shadow: none;
}

/* Bottom gradient — fades lower edge so text reads well */
.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.85) 0%,
        rgba(0,0,0,0.3) 40%,
        rgba(0,0,0,0.1) 70%,
        rgba(0,0,0,0) 100%
    );
    z-index: 5;
    pointer-events: none;
}

/* ========================
   SECTIONS
======================== */
section {
    padding: var(--section-pad-desktop) 0;
}

.section-tagline {
    font-family: var(--font-accent);
    color: var(--accent-red);
    text-transform: uppercase;
    letter-spacing: 4px;
    display: block;
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 12px;
}

.section-title {
    font-size: clamp(28px, 5vw, 48px);
    margin-bottom: 40px;
}

/* ========================
   REUSABLE LAYOUT GRIDS
   (replaces inline styles)
======================== */

/* 2-column grid used on multiple pages */
.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.grid-2col-contact {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
}

.grid-2col-synopsis {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

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

.grid-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* ========================
   HERO PAGE HEADERS
   (inner page hero)
======================== */
.page-hero {
    padding-top: 160px;
    padding-bottom: 80px;
    background-size: cover;
    background-position: center;
}

.page-hero h1 {
    font-size: clamp(36px, 7vw, 64px);
    color: #fff;
}

.page-hero p {
    font-size: clamp(16px, 2.5vw, 20px);
    color: rgba(255,255,255,0.85);
    margin-top: 16px;
    max-width: 600px;
}

/* ALIYA big title */
.aliya-title {
    font-size: clamp(60px, 15vw, 120px);
    letter-spacing: clamp(5px, 2vw, 15px);
    color: #fff;
    text-shadow: 0 0 30px rgba(211, 47, 47, 0.2);
    margin-bottom: 5px;
    line-height: 1;
}

/* ========================
   FOOTER
======================== */
footer {
    background: var(--accent-black);
    padding: 80px 0 40px;
    color: #FFFFFF;
}

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

.footer-logo {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--accent-red);
}

.footer-desc {
    color: #B0B0B0;
    margin-bottom: 30px;
    font-size: 15px;
    line-height: 1.7;
}

.footer-socials {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.footer-socials a:hover {
    border-color: var(--accent-red);
    color: var(--accent-red);
    transform: translateY(-5px);
}

.footer-col h4 {
    color: #FFFFFF;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 30px;
    font-family: var(--font-body);
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: #B0B0B0;
    font-size: 15px;
}

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

.newsletter-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.newsletter-form input {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
    color: #fff;
    flex: 1;
    min-width: 0;
    font-family: var(--font-body);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-red);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 13px;
}

/* ========================
   ANIMATIONS (AOS-like)
======================== */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* ========================
   RESPONSIVE: TABLET 1024px
======================== */
@media (max-width: 1024px) {
    .container {
        padding: 0 32px;
    }

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

    .slide-content h2 {
        font-size: 52px;
    }

    .grid-2col,
    .grid-2col-contact,
    .grid-2col-synopsis {
        gap: 50px;
    }

    .grid-3col {
        gap: 24px;
    }
}

/* ========================
   RESPONSIVE: MOBILE 768px
======================== */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    header {
        padding: 14px 0;
    }

    header.scrolled {
        padding: 12px 0;
    }

    /* Show hamburger */
    .mobile-toggle {
        display: flex;
    }

    /* Full-screen mobile menu — light theme */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(78vw, 300px);
        height: 100vh;
        height: 100dvh;
        background: #ffffff;
        flex-direction: column;
        justify-content: center;
        align-items: stretch;
        gap: 0;
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 1050;
        padding: 100px 0 60px;
        border-left: 3px solid var(--accent-red);
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
        box-shadow: -8px 0 40px rgba(0,0,0,0.15);
    }

    .nav-links li {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(0,0,0,0.06);
    }

    .nav-links li:first-child {
        border-top: 1px solid rgba(0,0,0,0.06);
    }

    .nav-links a {
        font-size: 15px;
        color: #1A1A1A;
        letter-spacing: 1.5px;
        font-weight: 600;
        text-transform: uppercase;
        display: block;
        padding: 18px 32px;
        transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
    }

    .nav-links a:hover {
        color: var(--accent-red);
        background: rgba(211,47,47,0.05);
        padding-left: 40px;
    }

    .nav-links a.active {
        color: var(--accent-red);
        background: rgba(211,47,47,0.08);
        border-left: 3px solid var(--accent-red);
        padding-left: 29px;
    }

    /* Hamburger bars — dark on light header */
    .mobile-toggle span {
        background: var(--accent-black);
    }

    /* Sections */
    section {
        padding: var(--section-pad-mobile) 0;
    }

    /* Sliders */
    .hero-slider {
        height: 75vh;
        min-height: 420px;
    }

    .slide-content {
        bottom: 8%;
        left: 4%;
        right: 4%;
        max-width: 100%;
    }

    .slide-content h2 {
        font-size: clamp(22px, 7vw, 36px);
    }

    .slide-content p {
        font-size: 14px;
        margin-bottom: 16px;
    }

    /* About page journey slider */
    .about-journey-slider {
        height: 55vh !important;
        min-height: 340px;
        margin: 40px 0 !important;
    }

    /* Typography */
    .section-title {
        font-size: clamp(24px, 7vw, 36px);
        margin-bottom: 24px;
    }

    /* Layout grids → single column */
    .grid-2col,
    .grid-2col-contact,
    .grid-2col-synopsis {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .grid-3col {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .grid-vision {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Glass cards */
    .glass-card {
        padding: 28px 24px;
    }

    /* Buttons */
    .btn {
        padding: 13px 24px;
        font-size: 13px;
        letter-spacing: 1.5px;
    }

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

    footer {
        padding: 60px 0 32px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        width: 100%;
    }

    .newsletter-form .btn {
        width: 100%;
        text-align: center;
    }

    /* Page hero inner pages */
    .page-hero {
        padding-top: 120px;
        padding-bottom: 56px;
    }

    /* CTA section */
    .cta-section-title {
        font-size: clamp(24px, 7vw, 36px) !important;
    }
}

/* ========================
   RESPONSIVE: SMALL 480px
======================== */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .logo-img {
        height: 44px;
    }

    .hero-slider {
        height: 65vh;
        min-height: 420px;
    }

    .slide-content h2 {
        font-size: clamp(24px, 8vw, 32px);
    }

    .slide-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .section-title {
        font-size: clamp(22px, 7vw, 30px);
    }

    .glass-card {
        padding: 20px 16px;
    }

    /* Aliya hero title */
    .aliya-title {
        letter-spacing: 5px;
    }

    /* Contact form inline grid → stacked */
    .contact-form-row {
        grid-template-columns: 1fr !important;
    }
}
