/**
 * Canmoor - Leicester Logistic
 * Main Stylesheet
 *
 * @package Canmoor_Leicester_Logistic
 * @version 1.0.0
 * @author Cormack Advertising
 */

/* ============================================
   Custom Fonts
   ============================================ */

@font-face {
    font-family: 'CustomFont';
    src: url('../fonts/font-regular.woff2') format('woff2'),
         url('../fonts/font-regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CustomFont';
    src: url('../fonts/font-bold.woff2') format('woff2'),
         url('../fonts/font-bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   CSS Reset & Base Styles
   ============================================ */

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

html {
    font-size: 16px;
}

body {
    font-family: 'CustomFont', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 400;
    /* line-height: 1.6; */
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.animate-hidden {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animate-visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.2s; }
.animate-delay-2 { transition-delay: 0.4s; }
.animate-delay-3 { transition-delay: 0.6s; }
/* ============================================
   Container / Content Area
   ============================================ */

.container,
.content-area {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ============================================
   Header Styles
   ============================================ */

.site-header {
    /* Header styles will go here */
}

/* ============================================
   Navigation Styles
   ============================================ */

.site-navigation.sticky-nav {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #757575;
    border-bottom: 4px solid #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 18px 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.nav-brand h1 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 400;
    margin: 0;
    letter-spacing: 0.5px;
}

/* Hamburger Menu Toggle */
.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    order: 2;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle:hover .hamburger-line {
    background-color: #f0f0f0;
}

.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* Navigation Logos */
.nav-logos {
    display: flex;
    align-items: center;
    gap: 20px;
    order: 3;
}

.nav-logo {
    height: 65px;
    width: auto;
    object-fit: contain;
}

/* Off-Canvas Menu */
.offcanvas-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background-color: #757575;
    z-index: 1100;
    transition: right 0.4s ease;
    overflow-y: auto;
}

.offcanvas-menu.active {
    right: 0;
}

.offcanvas-content {
    padding: 60px 40px 40px;
    position: relative;
}

.offcanvas-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 48px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.offcanvas-close:hover {
    transform: rotate(90deg);
}

.offcanvas-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.offcanvas-nav li {
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.offcanvas-nav li:last-child {
    border-bottom: none;
}

.offcanvas-nav a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
    padding: 20px 0;
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.offcanvas-nav a:hover {
    padding-left: 15px;
    color: #f0f0f0;
}

/* Overlay */
.offcanvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.offcanvas-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-brand h1 {
        font-size: 18px;
    }

    .nav-logo {
        height: 30px;
    }

    .offcanvas-menu {
        max-width: 300px;
    }

    .offcanvas-nav a {
        font-size: 18px;
    }
}

/* ============================================
   Hero Banner Styles
   ============================================ */

.hero-banner {
    /* Hero banner styles will go here */
}

/* ============================================
   Subhero Section Styles
   ============================================ */

.subhero-section {
    /* Subhero styles will go here */
}

/* ============================================
   Occupiers Section Styles
   ============================================ */

.occupiers-section {
    /* Occupiers styles will go here */
}

/* ============================================
   Earial Section Styles
   ============================================ */

.earial-section {
    /* Earial styles will go here */
}

/* ============================================
   Distribution Section Styles
   ============================================ */

.distribution-section {
    /* Distribution styles will go here */
}

/* ============================================
   Siteplan Section Styles
   ============================================ */

.siteplan-section {
    /* Siteplan styles will go here */
}

/* ============================================
   Accommodation Section Styles
   ============================================ */

.accommodation-section {
    background-color: #757575;
    padding: 60px 0;
}

.accommodation-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Headline */
.accommodation-headline {
    font-family: 'Helvetica', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 40px 0;
}

/* Unit Selector Toggle Bar */
.unit-selector-wrapper {
    position: relative;
    margin-bottom: 50px;
}

.unit-selector {
    display: flex;
    background-color: rgba(217, 217, 217, 0.90);
    border: 2px solid #ffffff;
    border-radius: 50px;
    padding: 5px;
    position: relative;
    overflow: visible;
}

.unit-selector-slider {
    position: absolute;
    top: 5px;
    left: 5px;
    height: calc(100% - 10px);
    background-color: #ffffff;
    border: 2px solid #01714B;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    pointer-events: none;
}

.unit-btn {
    flex: 1;
    background: transparent;
    border: none !important;
    padding: 12px 20px;
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 160%;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
    color: #01714B;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    white-space: nowrap;
    border-radius: 50px;
}

.unit-btn.active {
    background: transparent
    color: #01714B;
}

.unit-btn:hover {
    color: #005a3c;
}

/* Content Area */
.accommodation-content {
    border-radius: 8px;
border: 1px solid #FFF;
background: rgba(217, 217, 217, 0.90);
    padding: 40px;
    position: relative;
}

.unit-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.unit-content.active {
    display: block;
}

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

/* Unit Layout - 2 Columns */
.unit-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    /* gap: 0px; */
}


/* Left: Site Plan */
.unit-site-plan {
       display: flex;
    align-items: center;
    justify-content: center;
}

.unit-site-plan img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Right: Details */
.unit-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.unit-image {
    width: 100%;
}

.unit-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Unit Info - Table & Icons */
.unit-info {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
}

/* Data Table */
.unit-table h3 {
    font-family: 'Helvetica', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #01714B;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-align: right;
}

.unit-table table {
    width: 100%;
    border-collapse: collapse;
}

.unit-table thead th {
    font-family: 'Helvetica', sans-serif;
    font-weight: 600;
    font-size: 12px;
    color: #1A7768;
    /* background-color: #01714B; */
    padding: 10px;
    text-align: left;
    text-transform: uppercase;
}

.unit-table tbody td {
    font-family: 'Helvetica', sans-serif;
    font-size: 13px;
    color: #1A7768;
    padding: 10px;
    border-bottom: 1px solid #1A7768;
}

.unit-table tbody tr:last-child td {
    border-bottom: none;
}

.unit-table .total-row td {
    color: #1A7768;
    font-weight:700;
}

/* Icons Grid - 2 Rows x 4 Columns */
.unit-icons {
   display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 15px;  
}



.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
}

.icon-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.icon-item p {
    font-family: 'Helvetica', sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: #01714B;
    line-height: 1.3;
    margin: 0;
    text-transform: uppercase;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .unit-layout {
        grid-template-columns: 1fr;
    }

    .unit-info {
        grid-template-columns: 1fr;
    }

    .unit-icons {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

    .accommodation-content {
        padding: 20px;
    }

    .unit-btn {
        font-size: 12px;
        padding: 10px 12px;
        letter-spacing: 0.5px;
    }

    .unit-icons {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
    }

    .icon-item img {
        width: 40px;
        height: 40px;
    }

    .icon-item p {
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .unit-selector {
        flex-direction: column;
        border-radius: 10px;
    }

    .unit-selector-slider {
        display: none;
    }

    .unit-btn {
        border-radius: 8px;
        margin: 2px 0;
    }

    .unit-btn.active {
        background-color: #01714B;
        color: #ffffff;
    }
}

/* ============================================
   Population Section Styles
   ============================================ */

.population-section {
    /* Population styles will go here */
}

/* ============================================
   Sustainability Section Styles
   ============================================ */

.sustainability-section {
    /* Sustainability styles will go here */
}

/* ============================================
   Location Section Styles
   ============================================ */

.location-section {
    /* Location styles will go here */
}

/* ============================================
   Contact Section Styles
   ============================================ */

.contact-section {
    /* Contact styles will go here */
}
