/* Security Response UK - Professional Responsive Stylesheet */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 80px; /* Default mobile padding */
}

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

/* HEADER STYLES - Mobile First */
.header {
    background-color: #25383C;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-top {
    background-color: #1f2937;
    padding: 0.5rem 0;
    font-size: 0.75rem;
}

.header-top .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
}

.contact-info a {
    color: #d1d5db;
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.contact-info a:hover {
    color: white;
    background-color: rgba(255,255,255,0.1);
}

.social-links {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.social-links a {
    display: inline-block;
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.1);
}

.social-links img {
    width: 100%;
    height: 100%;
}

.main-header {
    padding: 0.75rem 0;
}

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

.logo {
    height: 45px;
    max-width: 180px;
    object-fit: contain;
}

/* NAVIGATION - Mobile First */
.nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #1f2937;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    border-top: 1px solid #374151;
    z-index: 1001;
    list-style: none;
}

.nav-menu.active {
    display: flex;
}

.nav-menu li {
    margin: 0.25rem 0;
}

.nav-menu a {
    display: block;
    color: #d1d5db;
    text-decoration: none;
    font-weight: 500;
    padding: 0.875rem 1rem;
    text-align: center;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: #25383C;
    color: #fbbf24;
}

.mobile-menu {
    display: block;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    min-width: 44px;
    min-height: 44px;
}

.mobile-menu:hover {
    background-color: rgba(255,255,255,0.1);
}

/* HERO SECTION - Mobile First */
.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #25383C 0%, #1f2937 100%);
    color: white;
    overflow: hidden;
    padding: 2rem 0;
}

.hero-images {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    opacity: 0.2;
}

.hero-images img {
    flex: 1;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.hero-tagline {
    font-size: 1.25rem;
    color: #fbbf24;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    opacity: 0.9;
}

.hero-locations {
    font-size: 0.875rem;
    font-weight: bold;
    margin-bottom: 2rem;
    opacity: 0.8;
}

/* PAGE HEADERS */
.page-header {
    background: linear-gradient(135deg, #25383C 0%, #1f2937 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* CTA BUTTONS */
.cta-button {
    display: inline-block;
    background-color: #fbbf24;
    color: #1f2937;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin: 0.5rem;
    min-width: 140px;
    text-align: center;
    touch-action: manipulation;
}

.cta-button:hover {
    background-color: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

.cta-button.secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button.secondary:hover {
    background-color: white;
    color: #25383C;
}

/* SECTIONS */
.section {
    padding: 3rem 0;
}

.section-alt {
    background-color: #f9fafb;
}

.section h2 {
    font-size: 1.875rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #1f2937;
    line-height: 1.2;
}

.section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #25383C;
    line-height: 1.3;
}

/* CONTENT GRIDS */
.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.content-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #4b5563;
}

.content-text p {
    margin-bottom: 1.25rem;
}

.content-text ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.content-text li {
    margin-bottom: 0.5rem;
}

/* ABOUT SECTION */
.about {
    padding: 3rem 0;
    background-color: #f9fafb;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
}

.about h2 {
    font-size: 1.875rem;
    margin-bottom: 2rem;
    color: #1f2937;
}

.about-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #4b5563;
}

.about-text p {
    margin-bottom: 1.25rem;
}

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

.company-logo img {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* SERVICES SECTION */
.services {
    padding: 3rem 0;
}

.services h2 {
    text-align: center;
    font-size: 1.875rem;
    margin-bottom: 2rem;
    color: #1f2937;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.service-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.service-card h3 {
    font-size: 1.25rem;
    color: #25383C;
    margin-bottom: 1rem;
}

.service-card p {
    color: #6b7280;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* FEATURES GRID */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.feature-card h4 {
    color: #25383C;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* HIGHLIGHT BOX */
.highlight-box {
    background-color: #25383C;
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.highlight-box h4 {
    color: #fbbf24;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.highlight-box ul {
    list-style: none;
    padding: 0;
}

.highlight-box li {
    margin-bottom: 0.75rem;
    padding-left: 1rem;
    position: relative;
}

.highlight-box li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #fbbf24;
    font-weight: bold;
}

/* COVERAGE SECTION */
.coverage {
    padding: 3rem 0;
    background-color: #f9fafb;
}

.coverage h2 {
    text-align: center;
    font-size: 1.875rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.coverage-text {
    text-align: center;
    font-size: 1rem;
    color: #4b5563;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.locations {
    text-align: center;
    font-weight: bold;
    color: #25383C;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA SECTION */
.cta-section {
    background-color: #25383C;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.cta-section p {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* FOOTER */
.footer {
    background-color: #25383C;
    color: white;
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer h3 {
    margin-bottom: 1rem;
    color: #fbbf24;
    font-size: 1.125rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1.5rem;
    text-align: center;
    color: #9ca3af;
}

.company-details {
    font-size: 0.875rem;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
    align-items: center;
}

.contact-methods a {
    color: #fbbf24;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    min-width: 120px;
    text-align: center;
}

.contact-methods a:hover {
    background-color: rgba(251, 191, 36, 0.1);
}

/* ============================================
   TABLET STYLES (768px - 1023px)
   ============================================ */
@media (min-width: 48rem) and (max-width: 63.9375rem) {
    body {
        padding-top: 90px;
    }
    
    .container {
        padding: 0 2rem;
    }
    
    .header-top .container {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .contact-info {
        flex-direction: row;
        gap: 1.5rem;
        text-align: left;
    }
    
    .hero {
        min-height: 70vh;
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .page-header {
        padding: 4rem 0;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .section h2 {
        font-size: 2.25rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .about-content {
        grid-template-columns: 2fr 1fr;
        gap: 3rem;
        text-align: left;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .contact-methods {
        flex-direction: row;
        gap: 2rem;
    }
}

/* ============================================
   DESKTOP STYLES (1024px and up)
   ============================================ */
@media (min-width: 64rem) {
    body {
        padding-top: 100px;
    }
    
    .container {
        padding: 0 2rem;
    }
    
    .header-top {
        font-size: 0.875rem;
    }
    
    .header-top .container {
        flex-direction: row;
        justify-content: space-between;
        padding: 0.5rem 2rem;
    }
    
    .contact-info {
        flex-direction: row;
        gap: 2rem;
        text-align: left;
    }
    
    .main-header {
        padding: 1rem 0;
    }
    
    .logo {
        height: 60px;
        max-width: 220px;
    }
    
    /* DESKTOP NAVIGATION - Horizontal Layout */
    .nav-menu {
        display: flex !important;
        position: static;
        background: transparent;
        flex-direction: row;
        padding: 0;
        box-shadow: none;
        border: none;
        gap: 2rem;
    }
    
    .nav-menu li {
        margin: 0;
    }
    
    .nav-menu a {
        display: inline-block;
        padding: 0.75rem 1rem;
        text-align: left;
        font-size: 0.95rem;
    }
    
    .nav-menu a:hover,
    .nav-menu a.active {
        background-color: rgba(255,255,255,0.1);
        color: white;
        transform: none;
    }
    
    .mobile-menu {
        display: none;
    }
    
    .hero {
        min-height: 80vh;
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero-tagline {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
        max-width: 800px;
        margin: 0 auto 2rem;
    }
    
    .page-header {
        padding: 5rem 0;
    }
    
    .page-header h1 {
        font-size: 3rem;
    }
    
    .page-header p {
        font-size: 1.25rem;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .section {
        padding: 5rem 0;
    }
    
    .section h2 {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .content-grid {
        grid-template-columns: 2fr 1fr;
        gap: 4rem;
    }
    
    .about-content {
        grid-template-columns: 2fr 1fr;
        gap: 4rem;
        text-align: left;
    }
    
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
    
    .contact-methods {
        flex-direction: row;
        gap: 2rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1.125rem;
    }
}

/* ============================================
   LARGE DESKTOP STYLES (1200px and up)
   ============================================ */
@media (min-width: 75rem) {
    .container {
        max-width: 1400px;
        padding: 0 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============================================
   ACCESSIBILITY & PERFORMANCE
   ============================================ */
@media (hover: none) and (pointer: coarse) {
    .nav-menu a:hover,
    .cta-button:hover,
    .service-card:hover,
    .feature-card:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

@media (prefers-contrast: high) {
    .hero {
        background: #000;
    }
    
    .cta-button {
        border: 2px solid #fbbf24;
    }
    
    .service-card,
    .feature-card {
        border: 1px solid #333;
    }
}

@media print {
    .header,
    .mobile-menu,
    .cta-section,
    .social-links {
        display: none;
    }
    
    body {
        padding-top: 0;
    }
    
    * {
        background: white !important;
        color: black !important;
    }
}
