/* ==========================================================================
   Variables
   ========================================================================== */
:root {
    --font-primary: 'Aktiv Grotesk', Arial, Helvetica, sans-serif;

    --color-primary: #FEBC17; /* the only yellow used on the site */
    --color-dark: #0b0b0b;
    --color-text: #333333;
    --color-light: #ffffff;
    --color-border: #e5e5e5;

    --container-width: 1200px;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*,
*::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(--color-text);
    background-color: var(--color-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

img,
video,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
    background: none;
    border: none;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    color: var(--color-dark);
}

h1 { font-size: 60px; font-weight: 400; }
h2 { font-size: 36px; }
h3 { font-size: 28px; }
h4 { font-size: 22px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

p {
    font-size: 18px;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

/* Full-width container with side spacing only */
.container-fluid {
    width: 100%;
    padding: 0 3vw;
}

main {
    flex: 1;
}

.section {
    padding: 80px 0;
}

/* ==========================================================================
   Header - "Made in India" top left, phone top right, logo centered below
   ========================================================================== */
.site-header {
    position: relative;
    z-index: 10;
    padding: 15px 0;
    background-color: var(--color-dark);
    color: var(--color-light);
}

/* On the home page the header sits on top of the hero image */
.home .site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
}

.header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    display: block;
    order: 2;
    margin-top: 10px;
}

.logo img {
    width: 300px;
    height: auto;
}

.header-contact {
    order: 1;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 14px;
}

.made-in-india {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-phone {
    text-align: right;
}

.header-phone a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
}

.header-phone svg {
    color: var(--color-primary);
}


/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
}

/* ==========================================================================
   Hero (home)
   ========================================================================== */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 180px;
    color: var(--color-light);
    background-color: var(--color-dark);
    background-image:
        radial-gradient(ellipse at center, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.2) 70%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.7) 100%),
        url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 0;
}

.hero-title {
    font-size: 60px;
    font-weight: 400;
    color: var(--color-light);
}

.hero-title span {
    display: block;
    color: var(--color-primary);
}

.hero-text {
    margin-top: 20px;
    font-size: 18px;
    opacity: 0.9;
}

.hero-options {
    display: flex;
    justify-content: center;
    gap: 30px;
    width: 100%;
    margin: 30px 0;
}

/* Animatable angle for the light that travels around the card border */
@property --option-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/*
 * Option cards:
 * - rise in one after the other on load (uses `translate` so it doesn't clash with the tilt `transform`)
 * - a gold light travels around the border
 * - a gold spotlight follows the cursor (--mx / --my set in main.js)
 * - the card tilts toward the cursor (transform set in main.js)
 */
.hero-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    width: 40%;
    max-width: 400px;
    padding: 18px 24px;
    text-align: left;
    border: 1px solid rgba(254, 188, 23, 0.35);
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    translate: 0 30px;
    transform-style: preserve-3d;
    transition: transform 0.25s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    animation: option-rise 0.9s cubic-bezier(0.22, 0.9, 0.3, 1) 0.8s forwards;
}

.hero-option:nth-child(2) {
    animation-delay: 1s;
}

/* Travelling border light */
.hero-option::before {
    content: '';
    position: absolute;
    inset: -1px;
    padding: 2px;
    border-radius: inherit;
    background: conic-gradient(from var(--option-angle), transparent 0deg, transparent 220deg, var(--color-primary) 330deg, transparent 360deg);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    animation: option-border-spin 4s linear infinite;
    pointer-events: none;
}

.hero-option:nth-child(2)::before {
    animation-delay: -2s;
}

/* Cursor spotlight */
.hero-option::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(254, 188, 23, 0.16) 0%, transparent 45%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.hero-option:hover {
    border-color: var(--color-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.hero-option:hover::after {
    opacity: 1;
}

.hero-option > span {
    position: relative;
    z-index: 1;
}

/* Icon badge: fills gold on hover */
.hero-option-badge {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border: 1px solid rgba(254, 188, 23, 0.5);
    border-radius: 50%;
    color: var(--color-primary);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.hero-option-icon {
    width: 30px;
    height: 30px;
}

.hero-option:hover .hero-option-badge {
    background-color: var(--color-primary);
    color: var(--color-dark);
    transform: scale(1.06);
}

.hero-option-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
}

.hero-option-text strong {
    display: block;
    white-space: nowrap;
    font-size: 18px;
    color: var(--color-primary);
}

/* Arrow: slides forward into a filled gold circle on hover */
.hero-option-go {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--color-primary);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.hero-option:hover .hero-option-go {
    background-color: var(--color-primary);
    color: var(--color-dark);
    transform: translateX(6px);
}

@keyframes option-rise {
    to {
        opacity: 1;
        translate: 0 0;
    }
}

@keyframes option-border-spin {
    to {
        --option-angle: 360deg;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-option {
        opacity: 1;
        translate: none;
        animation: none;
    }

    .hero-option::before {
        animation: none;
    }
}

/* Bottom stats bar with gold lines on both sides */
.hero-stats {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 20px 3vw;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
}

.hero-stats::before,
.hero-stats::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--color-primary) 100%);
}

.hero-stats::after {
    background: linear-gradient(90deg, var(--color-primary) 0%, transparent 100%);
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 20px;
    white-space: nowrap;
}

/* Stats keep their own size instead of the default paragraph size */
.hero-stat p {
    font-size: inherit;
}

.hero-stat svg {
    color: var(--color-primary);
}

.hero-stat strong {
    font-size: 26px;
    color: var(--color-primary);
}

.hero-stat-divider {
    width: 1px;
    height: 36px;
    background-color: var(--color-primary);
}

/* ==========================================================================
   Hero skyline - night towers behind the content, fading towards the centre
   ========================================================================== */
.hero-skyline {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 70px;
    z-index: 0;
    height: 70vh;
    pointer-events: none;
    /* fade out towards the top */
    -webkit-mask-image: linear-gradient(to top, #000 45%, transparent 100%);
    mask-image: linear-gradient(to top, #000 45%, transparent 100%);
    opacity: 0;
    translate: 0 40px;
    animation: skyline-rise 1.6s ease-out 0.1s forwards;
}

.hero-skyline svg {
    position: absolute;
    bottom: 0;
    height: 100%;
}

/* fade out towards the centre so the headline and cards stay clear */
.hero-skyline-left {
    left: 0;
    width: 32%;
    -webkit-mask-image: linear-gradient(to right, #000 55%, transparent 100%);
    mask-image: linear-gradient(to right, #000 55%, transparent 100%);
}

.hero-skyline-right {
    right: 0;
    width: 40%;
    -webkit-mask-image: linear-gradient(to left, #000 65%, transparent 100%);
    mask-image: linear-gradient(to left, #000 65%, transparent 100%);
}

.skyline-twinkle {
    animation: skyline-twinkle 6s ease-in-out infinite;
}

.skyline-beacon {
    animation: plane-strobe 2s steps(1) infinite;
}

/* Control tower radar sweeping round (flattening sideways reads as rotation) */
.airport-radar {
    transform-box: fill-box;
    transform-origin: center;
    animation: airport-radar 3s linear infinite;
}

/* Runway lights chase toward the runway */
.runway-light {
    opacity: 0.15;
    animation: runway-chase 1.6s linear infinite;
}

@keyframes airport-radar {
    0% {
        transform: scaleX(1);
    }
    50% {
        transform: scaleX(-1);
    }
    100% {
        transform: scaleX(1);
    }
}

@keyframes runway-chase {
    0% {
        opacity: 1;
    }
    25%,
    100% {
        opacity: 0.15;
    }
}

@keyframes skyline-rise {
    to {
        opacity: 0.85;
        translate: 0 0;
    }
}

@keyframes skyline-twinkle {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-skyline {
        opacity: 1;
        translate: none;
        animation: none;
    }

    .skyline-twinkle,
    .skyline-beacon,
    .airport-radar,
    .runway-light {
        animation: none;
    }
}

/* ==========================================================================
   Hero taxi animation - car drives in along the road on page load
   ========================================================================== */
.hero-road {
    position: absolute;
    left: 0;
    bottom: 70px;
    z-index: 1;
    width: 45%;
    height: 200px;
    pointer-events: none;
}

.hero-car {
    position: absolute;
    left: 2vw;
    bottom: 0;
    width: 420px;
    height: auto;
    filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.8));
    transform: translateX(-130%);
    animation: taxi-drive-in 2.4s cubic-bezier(0.22, 0.9, 0.3, 1) 0.3s forwards;
}

/* Wheels spin while the car moves and stop when it parks (same timing as the drive) */
.hero-car-wheel {
    transform-box: fill-box;
    transform-origin: center;
    animation: taxi-wheel-spin 2.4s cubic-bezier(0.22, 0.9, 0.3, 1) 0.3s both;
}

@keyframes taxi-drive-in {
    0% {
        transform: translateX(-130%);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes taxi-wheel-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(1440deg);
    }
}

/* ==========================================================================
   Hero plane animation - flies in from bottom right, then floats
   ========================================================================== */
.hero-plane {
    position: absolute;
    top: 15vh;
    right: 6vw;
    z-index: 1;
    width: 320px;
    pointer-events: none;
    transform: translate(45vw, 60vh);
    animation: plane-fly-in 3s cubic-bezier(0.25, 0.8, 0.3, 1) 0.5s forwards;
}

/* Nose raised slightly for a climbing look; gentle float once it arrives */
.hero-plane-body {
    display: block;
    width: 100%;
    height: auto;
    transform: rotate(8deg);
    filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.7));
    animation: plane-float 4s ease-in-out 3.5s infinite alternate;
}

.hero-plane-strobe {
    animation: plane-strobe 1.2s steps(1) infinite;
}

.hero-plane-beacon {
    animation: plane-strobe 1.6s steps(1) 0.6s infinite;
}

@keyframes plane-fly-in {
    0% {
        transform: translate(45vw, 60vh);
    }
    100% {
        transform: translate(0, 0);
    }
}

@keyframes plane-float {
    0% {
        transform: rotate(8deg) translateY(0);
    }
    100% {
        transform: rotate(6deg) translateY(-10px);
    }
}

@keyframes plane-strobe {
    0% {
        opacity: 1;
    }
    15% {
        opacity: 0;
    }
}

/* Respect users who turn off animations: show the car parked and the plane in place */
@media (prefers-reduced-motion: reduce) {
    .hero-plane,
    .hero-plane-body,
    .hero-plane-strobe,
    .hero-plane-beacon {
        animation: none;
    }

    .hero-plane {
        transform: none;
    }

    .hero-car,
    .hero-car-wheel {
        animation: none;
        transform: none;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    padding: 30px 0;
    background-color: var(--color-dark);
    color: var(--color-light);
    text-align: center;
}

/* ==========================================================================
   Desktop: header + hero scaled to match the 742 x 420 design mockup.
   --u = one design pixel. It scales with the viewport so the whole design
   fits the screen (width-limited or height-limited, whichever is smaller).
   ========================================================================== */
@media (min-width: 992px) {
    :root {
        --u: min(0.1348vw, 0.238vh);
    }

    /* Fixed-size text (60px h1), so the column is sized in px, not scaled */
    .hero-content {
        width: 90%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0;
    }

    .hero {
        padding-top: 170px;
    }

    .hero-title {
        line-height: 1.2;
    }

    .hero-text {
        margin-top: calc(7 * var(--u));
    }

    .hero-options {
        gap: calc(16 * var(--u));
        margin: calc(16 * var(--u)) 0 calc(20 * var(--u));
    }

    .hero-option {
        width: calc(194 * var(--u));
        max-width: none;
        height: calc(55 * var(--u));
        gap: calc(9 * var(--u));
        padding: 0 calc(12 * var(--u));
        border-radius: calc(6 * var(--u));
    }

    .hero-option-badge {
        width: calc(28 * var(--u));
        height: calc(28 * var(--u));
    }

    .hero-option-icon {
        width: calc(15 * var(--u));
        height: calc(15 * var(--u));
    }

    .hero-option-text {
        font-size: max(12px, calc(8 * var(--u)));
    }

    .hero-option-text strong {
        font-size: max(14px, calc(9.5 * var(--u)));
    }

    .hero-option-go {
        width: calc(20 * var(--u));
        height: calc(20 * var(--u));
    }

    .hero-option-arrow {
        width: calc(10 * var(--u));
        height: calc(10 * var(--u));
    }

    .btn {
        gap: calc(6 * var(--u));
        padding: 0 calc(24 * var(--u));
        height: calc(30 * var(--u));
        font-size: max(13px, calc(9 * var(--u)));
    }

    .btn svg {
        width: calc(11 * var(--u));
        height: calc(11 * var(--u));
    }

    .hero-skyline {
        bottom: calc(34 * var(--u));
    }

    .hero-road {
        bottom: calc(34 * var(--u));
        height: calc(120 * var(--u));
    }

    .hero-car {
        width: calc(200 * var(--u));
    }

    .hero-plane {
        width: calc(150 * var(--u));
    }

    .hero-stats {
        height: calc(34 * var(--u));
        padding: 0;
        gap: calc(24 * var(--u));
    }

    .hero-stat {
        gap: calc(10 * var(--u));
        font-size: max(14px, calc(11 * var(--u)));
    }

    .hero-stat svg {
        width: calc(22 * var(--u));
        height: calc(22 * var(--u));
    }

    .hero-stat strong {
        font-size: max(18px, calc(14 * var(--u)));
    }

    .hero-stat-divider {
        height: calc(22 * var(--u));
    }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 991px) {
    h1 { font-size: 38px; }
    h2 { font-size: 30px; }

    .section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-option {
        width: 50%;
    }

    .hero-road,
    .hero-plane,
    .hero-skyline {
        display: none;
    }
}

@media (max-width: 767px) {
    h1 { font-size: 30px; }
    h2 { font-size: 24px; }

    .section {
        padding: 40px 0;
    }

    .logo img {
        width: 180px;
    }

    .header-contact {
        gap: 12px;
        font-size: 12px;
    }

    .header-phone a {
        font-size: 14px;
    }


    .hero {
        padding-top: 170px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-options {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero-option {
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 12px;
    }

    .hero-stats::before,
    .hero-stats::after,
    .hero-stat-divider {
        display: none;
    }

    .hero-stat {
        font-size: 16px;
    }

    .hero-stat strong {
        font-size: 20px;
    }
}
