/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

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

/* Header Styles */
header {
    background: linear-gradient(135deg, #2c5f8d 0%, #1a3a52 100%);
    color: white;
    padding: 2rem 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.tagline {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Navigation Styles */
nav {
    background-color: #1a3a52;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 1rem 1.5rem;
    transition: background-color 0.3s ease;
    font-weight: 500;
}

nav ul li a:hover {
    background-color: #2c5f8d;
}

/* Main Content */
main {
    background-color: white;
}

section {
    padding: 3rem 0;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1a3a52;
    text-align: center;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #666;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #e8f4f8 0%, #d4e9f2 100%);
    padding: 0;
}

.hero-image {
    width: 100%;
    max-height: 620px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.hero .container {
    padding: 3rem 20px;
}

.hero h2 {
    color: #1a3a52;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: #555;
}

/* Storage Grid */
.storage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.storage-unit {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.storage-unit:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.storage-unit img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #e0e0e0;
}

.storage-unit h3 {
    font-size: 1.5rem;
    color: #2c5f8d;
    padding: 1rem 1rem 0.5rem;
}

.storage-unit .dimensions {
    font-weight: 600;
    color: #666;
    padding: 0 1rem;
    font-size: 0.9rem;
}

.storage-unit p {
    padding: 0.5rem 1rem 1.5rem;
    color: #666;
    line-height: 1.5;
}

/* Hours Section */
.hours-section {
    background-color: #f9f9f9;
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.hours-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hours-item h3 {
    color: #1a3a52;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.hours-item .time {
    font-size: 1.2rem;
    color: #2c5f8d;
    font-weight: 600;
}

/* Contact Section */
.contact-section {
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-info {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    color: #1a3a52;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-info p {
    color: #555;
    line-height: 1.8;
}

.contact-info a {
    color: #2c5f8d;
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Center the single-line contact text on the storage page */
.storage-contact p {
    text-align: center;
    font-size: 1rem;
    color: #444;
    margin-top: 0.5rem;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

/* Footer */
footer {
    background-color: #1a3a52;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

footer p {
    margin: 0.5rem 0;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li a {
        text-align: center;
    }

    section h2 {
        font-size: 1.7rem;
    }

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

    .hero-image {
        max-height: 400px;
    }

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

    .hero .container {
        padding: 2rem 20px;
    }

    .hours-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.7rem;
    }

    section {
        padding: 2rem 0;
    }

    section h2 {
        font-size: 1.5rem;
    }
}

/* Location Page Styles */
.location-page {
    padding: 3rem 0;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.location-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.detail-card {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.detail-card h3 {
    color: #1a3a52;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.detail-card p {
    color: #555;
    line-height: 1.8;
}

.detail-card a {
    color: #2c5f8d;
    text-decoration: none;
    font-weight: 500;
}

.detail-card a:hover {
    text-decoration: underline;
}

.location-map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.location-map iframe {
    display: block;
}

@media (max-width: 768px) {
    .location-details {
        grid-template-columns: 1fr;
    }
    
    .location-map iframe {
        height: 400px;
    }
}


/* Unit chart styles */
.unit-chart {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0 2rem;
    background: white;
    box-shadow: 0 6px 18px rgba(24, 40, 56, 0.06);
    border-radius: 8px;
    overflow: hidden;
}
.unit-chart caption {
    caption-side: bottom;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: #666;
}
.unit-chart th,
.unit-chart td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid #eef3f7;
    text-align: left;
    vertical-align: top;
}
.unit-chart thead th {
    background: linear-gradient(180deg,#f5fbff 0%,#eef7fc 100%);
    color: #1a3a52;
    font-weight: 700;
    font-size: 0.98rem;
}
.unit-chart tbody tr:nth-child(even) {
    background: #fcfeff;
}
.table-note {
    color: #556;
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
}
.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
}
.badge.heated {
    background: #e86f3d;
}
.badge.no {
    background: #6d98b6;
}

/* Responsive: stack rows on small screens */
@media (max-width: 768px) {
    .unit-chart thead {
        display: none;
    }
    .unit-chart, .unit-chart tbody, .unit-chart tr, .unit-chart td {
        display: block;
        width: 100%;
    }
    .unit-chart tr {
        margin: 0 0 1rem 0;
        border: 1px solid #eef3f7;
        border-radius: 8px;
        padding: 0.6rem;
    }
    .unit-chart td {
        padding: 0.5rem 0.6rem;
        border: none;
    }
    .unit-chart td::before {
        content: attr(data-label) ": ";
        font-weight: 700;
        display: inline-block;
        width: 42%;
        color: #274156;
    }
}

    /* Size cell with thumbnail */
    .size-text {
        font-weight: 700;
        color: #1a3a52;
    }
    .size-text small {
        display: block;
        font-weight: 600;
        color: #6b7c88;
        font-size: 0.9rem;
    }

    /* Image cell */
    .image-cell {
        text-align: center;
        vertical-align: middle;
    }
    .image-cell .unit-image img {
        width: 140px;
        height: 84px;
        object-fit: cover;
        border-radius: 6px;
        box-shadow: 0 4px 10px rgba(16, 40, 60, 0.08);
        border: 1px solid #eef6fb;
    }

    @media (max-width: 768px) {
        .image-cell .unit-image img {
            width: 100%;
            height: auto;
        }
        .unit-chart td::before {
            width: 38%;
        }
    }

    /* Ensure Sq Ft column doesn't wrap so values like "25 sq ft" stay on one line */
    .unit-chart th:nth-child(2),
    .unit-chart td:nth-child(2) {
        white-space: nowrap;
    }

    /* Slightly increase width priority for the Sq Ft column on small screens */
    @media (max-width: 768px) {
        .unit-chart td:nth-child(2) {
            white-space: normal;
        }
    }

