diff --git a/src/app/doormile-wings/page.tsx b/src/app/doormile-wings/page.tsx index 69a843b..11f3502 100644 --- a/src/app/doormile-wings/page.tsx +++ b/src/app/doormile-wings/page.tsx @@ -8,7 +8,6 @@ import WingsFleetStrategy from "@/components/sections/WingsFleetStrategy"; import WingsInfrastructure from "@/components/sections/WingsInfrastructure"; import WingsMileTruth from "@/components/sections/WingsMileTruth"; import WingsRoadmap from "@/components/sections/WingsRoadmap"; -import WingsFinalCTA from "@/components/sections/WingsFinalCTA"; export const metadata = { title: "Doormile Wings – Redefining Domestic Air Logistics Through AI", @@ -55,7 +54,6 @@ export default function DoormileWingsPage() { - diff --git a/src/app/globals.css b/src/app/globals.css index f4aa767..e4deedb 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -1219,28 +1219,3 @@ body { } } -/* Global Desktop Hero Formatting (Matches live site) - .miletruth-hero-container is deliberately excluded: unlike the other - hero wrappers it IS the visual card itself (background-image + a - flat bottom edge that the stats bar overlaps by -25px), not a - wrapper around a separate inner card, so it carries its own - correctly-tuned margin-top/padding/border-radius in MileTruthHero.tsx. - Including it here clobbered that with the wrapper values, collapsing - its top gap to 8px and its internal padding to 20px. */ -@media (min-width: 1025px) { - /* Give every hero wrapper a consistent gap from the top and sides */ - .elementor-element.elementor-element-741f56c, - .custom-standard-hero-container { - padding: 20px 24px !important; - margin-top: 8px !important; - } - - /* Ensure all inner dark hero cards have elegant rounded corners */ - .elementor-element.elementor-element-741f56c .owl-carousel.owl-theme .content-item, - .elementor-element.elementor-element-741f56c .content-item, - .custom-standard-hero-card, - .miletruth-hero .slide-content { - border-radius: 24px !important; - overflow: hidden !important; - } -} diff --git a/src/components/layout/Header.tsx b/src/components/layout/Header.tsx index a404bbf..dfbeaeb 100644 --- a/src/components/layout/Header.tsx +++ b/src/components/layout/Header.tsx @@ -790,10 +790,7 @@ export default function Header() { -webkit-backdrop-filter: blur(14px) !important; backdrop-filter: blur(14px) !important; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22) !important; - top: 15px !important; - left: 20px !important; - right: 20px !important; - border-radius: 24px !important; + top: 0 !important; } #masthead .elementor-element.elementor-element-466de1b.dm-header-scrolled .elementor-element.elementor-element-e052838 { @@ -822,13 +819,11 @@ export default function Header() { grid-template-columns: 1fr auto 1fr !important; align-items: center !important; column-gap: clamp(16px, 2vw, 32px) !important; - /* Fixed 20px safe area on both sides — matches the Hero - card and Footer's outer band exactly (both use a flat - 20px inset, uncapped, at every desktop width), so the - header aligns with the rest of the page instead of - drifting wider on large screens. Symmetric, so the + /* Equal left/right safe areas pull the logo and Contact + button inward off the viewport edges. Because the inset + is symmetric, the 1fr side columns shrink equally and the centred nav does not shift. */ - padding-inline: 20px !important; + padding-inline: clamp(24px, 3vw, 48px) !important; /* Consistent top/bottom breathing room inside the bar; with align-items:center every section stays vertically centred. */ padding-block: clamp(8px, 1vw, 16px) !important; @@ -860,29 +855,9 @@ export default function Header() { align-items: center !important; } - /* navbar-right: Contact button, aligned to the right edge. - The vendor kit's own --margin-right:3% (site.css) would add - extra drift off the grid's 20px safe area — zero it so the - button's true right edge lands flush with that 20px inset. */ + /* navbar-right: Contact button, aligned to the right edge. */ #masthead .elementor-element.elementor-element-f961133 { justify-self: end !important; - margin-right: 0 !important; - } - } - - /* Compact nav items at middle desktop widths (8 items fit without overflow). - Slightly tighter letter-spacing keeps the active underline animation intact. */ - @media (min-width: 1025px) and (max-width: 1400px) { - #masthead .header-menu-container .main-menu > li > a { - letter-spacing: -0.01em; - } - } - @media (min-width: 1025px) and (max-width: 1200px) { - #masthead .header-menu-container .main-menu { - gap: clamp(4px, 0.8vw, 12px) !important; - } - #masthead .header-menu-container .main-menu > li > a { - font-size: clamp(12px, 0.95vw, 14px); } } @@ -924,15 +899,9 @@ export default function Header() { to the top once scrolled past 50px, matching desktop behaviour. */ #masthead .elementor-element.elementor-element-466de1b.dm-header-scrolled { position: fixed !important; - background: rgba(26, 26, 26, 0.92) !important; - -webkit-backdrop-filter: blur(14px) !important; - backdrop-filter: blur(14px) !important; - box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22) !important; - top: 15px !important; - left: 20px !important; - right: 20px !important; - border-radius: 20px !important; - width: auto !important; + top: 18px !important; + left: 0 !important; + right: 0 !important; } #masthead .elementor-element.elementor-element-e052838 { diff --git a/src/components/sections/MileTruthHero.tsx b/src/components/sections/MileTruthHero.tsx index c951e75..d568688 100644 --- a/src/components/sections/MileTruthHero.tsx +++ b/src/components/sections/MileTruthHero.tsx @@ -68,7 +68,7 @@ export default function MileTruthHero() { flex-direction: column; justify-content: center; border-radius: 25px 25px 0 0; - margin-top: 28px; + margin-top: 20px; padding: 100px 0; } .miletruth-hero-container::before { diff --git a/src/components/sections/WingsFinalCTA.tsx b/src/components/sections/WingsFinalCTA.tsx deleted file mode 100644 index 2a66a21..0000000 --- a/src/components/sections/WingsFinalCTA.tsx +++ /dev/null @@ -1,121 +0,0 @@ -import Link from "next/link"; - -export default function WingsFinalCTA() { - return ( - <> -