/*
Theme Name: Academy Storage
Theme URI: https://theacademystorage.co.uk
Description: Custom WordPress theme for Academy Storage - Self storage facility in Woolwich, London
Version: 1.0.0
Author: Your Name
Author URI: https://theacademystorage.co.uk
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: academy-storage
Tags: business, storage, custom, modern

Academy Storage WordPress Theme, Copyright 2026
Academy Storage is distributed under the terms of the GNU GPL
*/

/* ==========================================================================
   Base Styles
   ========================================================================== */

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

:root {
    --primary-color: #ff6b35;
    --primary-hover: #ff5722;
    --secondary-color: #2c3e50;
    --secondary-light: #34495e;
    --text-dark: #333;
    --text-light: #666;
    --text-lighter: #888;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --success-color: #27ae60;
    --border-radius: 8px;
    --border-radius-full: 50px;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 5px rgba(0,0,0,0.1);
    --shadow-md: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-lg: 0 5px 20px rgba(0,0,0,0.12);
    --max-width: 1200px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    font-size: 16px;
}

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

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-hover);
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

p {
    margin-bottom: 1rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-block;
    padding: 16px 40px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius-full);
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    text-align: center;
}

.btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    color: white;
}

.btn-secondary {
    background: white;
    color: var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.btn-large {
    padding: 18px 50px;
    font-size: 18px;
}

.btn-small {
    padding: 12px 30px;
    font-size: 14px;
}

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

.site-header {
    background: #1a252f;
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.site-logo {
    display: block;
    max-width: 200px;
    transition: var(--transition);
}

.site-logo:hover {
    opacity: 0.8;
}

.site-logo img {
    display: block;
    height: auto;
    max-height: 60px;
}

.main-navigation ul {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.main-navigation a:hover {
    color: var(--primary-color);
}

/* Dropdown Menu Styles */
.main-navigation ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #1a252f;
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    padding: 10px 0;
    z-index: 1000;
    flex-direction: column;
    gap: 0;
}

.main-navigation li:hover > ul {
    display: block;
}

/* Right-align dropdown for last few menu items */
.main-navigation > ul > li:nth-last-child(-n+2) > ul {
    left: auto;
    right: 0;
}

.main-navigation ul ul li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.main-navigation ul ul li:last-child {
    border-bottom: none;
}

.main-navigation ul ul a {
    display: block;
    padding: 12px 20px;
    white-space: nowrap;
    color: white;
}

.main-navigation ul ul a:hover {
    background: #1a252f;
    color: var(--primary-color);
}

/* Sub-dropdown (third level) */
.main-navigation ul ul ul {
    left: 100%;
    top: 0;
}

/* Right-aligned sub-dropdowns */
.main-navigation > ul > li:nth-last-child(-n+2) ul ul {
    left: auto;
    right: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
    padding: 10px;
    transition: var(--transition);
}

.menu-toggle:hover {
    color: var(--primary-color);
}

.menu-toggle.active {
    color: var(--primary-color);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    position: relative;
    color: white;
    padding: 100px 0 80px;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    color: white;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 15px;
    opacity: 0.95;
}

.hero-location {
    font-size: 16px;
    margin-bottom: 40px;
    opacity: 0.85;
}

.feature-list {
    list-style: none;
    margin-bottom: 40px;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.feature-list li {
    padding: 12px 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-list li:before {
    content: "✓";
    background: var(--success-color);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

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

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 60px;
}

.section-light {
    background: var(--bg-light);
}

.section-dark {
    background: var(--secondary-color);
    color: white;
}

.section-dark .section-title,
.section-dark .section-subtitle {
    color: white;
}

/* ==========================================================================
   Services Grid
   ========================================================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

/* Desktop: left-align service benefit cards */
@media (min-width: 769px) {
    .benefits-section .service-card {
        text-align: left;
    }
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.service-icon img {
    max-width: 60px;
    height: auto;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.service-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}

/* ==========================================================================
   Steps Section
   ========================================================================== */

.steps-grid {
    display: grid;
	grid-template-columns: repeat(4, 1fr); 
	gap: 30px;
    margin-bottom: 40px;
}

.step-card {
    background: white;
    color: var(--secondary-color);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
}

.step-number {
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.step-card p {
    color: var(--text-light);
    font-size: 15px;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--border-radius);
    position: relative;
}

.stars {
    color: #ffa500;
    font-size: 18px;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.7;
}

.testimonial-author {
    font-weight: 600;
    color: var(--secondary-color);
}

.testimonial-location {
    font-size: 14px;
    color: var(--text-lighter);
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 48px;
    color: #e0e0e0;
    line-height: 1;
}

/* ==========================================================================
   Gallery/Media Section
   ========================================================================== */

.gallery-slider {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.gallery-image,
.video-embed {
    width: 100%;
    border-radius: var(--border-radius);
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: #1a252f;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-section p,
.footer-section a {
    color: #bbb;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--secondary-color);
    color: var(--text-lighter);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    h1 { font-size: 36px; }
    h2 { font-size: 28px; }
    h3 { font-size: 22px; }
    
    .hero {
        padding: 60px 0 50px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .main-navigation {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1a252f;
        box-shadow: var(--shadow-md);
        z-index: 999;
    }
    
    .main-navigation.active {
        display: block !important;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-navigation li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .main-navigation a {
        display: block;
        padding: 15px 20px;
        color: white;
    }
    
    .main-navigation a:hover {
        color: var(--primary-color);
        background: none;
    }
    
    .menu-toggle {
        display: block !important;
    }
    
    /* Hide dropdown arrows on mobile */
    .main-navigation ul ul {
        position: static;
        box-shadow: none;
        padding-left: 20px;
        background: rgba(255,255,255,0.05);
    }
    
    .main-navigation li:hover > ul {
        display: none;
    }
    
    .main-navigation li.menu-item-has-children > a::after {
        content: " ›";
        float: right;
    }
    
    .services-grid,
    .steps-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    /* Service page specific mobile styles */
    .service-hero h1 {
        font-size: 32px !important;
    }
    
    .service-hero .container > div {
        flex-direction: column !important;
        gap: 15px !important;
    }
    
    /* Stack intro section */
    .intro-content,
    .signup-content {
        grid-template-columns: 1fr !important;
    }
    
    /* Force benefits to stack 1 column on mobile */
    .benefits-section .container > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Stack signup section on mobile */
    section[style*="max-width: 900px"] > div {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 14px 30px;
        font-size: 15px;
    }
    
    .container {
        padding: 0 15px;
    }
}