/* 
  SKYBLUE PROPANE RECYCLING LTD - Design System
  Colors: Blue (#00AEEF), Yellow (#FFB800)
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --primary-blue: #00AEEF;
    --primary-yellow: #FFB800;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --section-alt: #f1f5f9;
    --text-dark: #1e293b;
    --text-light: #f1f5f9;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 16px;
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: white;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

.section-padding {
    padding: 100px 0;
}

/* UI Elements */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
    border: none;
    gap: 10px;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: white;
    box-shadow: 0 8px 20px rgba(0, 174, 239, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 174, 239, 0.4);
}

.btn-secondary {
    background-color: var(--primary-yellow);
    color: white;
    box-shadow: 0 8px 20px rgba(255, 184, 0, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(255, 184, 0, 0.4);
}

/* Top Bar */
.top-bar {
    background-color: #008000;
    color: white;
    padding: 10px 0;
    overflow: hidden;
    width: 100%;
    z-index: 1001;
    font-weight: 600;
    font-size: 0.85rem;
    position: relative; /* Scrolls with the page */
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
}

.marquee-content span {
    padding-right: 80px;
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Header */
header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1900;
    padding: 15px 0;
    background: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

.logo img {
    height: 70px;
    transition: all 0.3s ease;
}

header.scrolled .logo img {
    height: 42px;
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary-blue);
}

.nav-links a.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
    background: rgba(0, 174, 239, 0.1);
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: none;
    /* Hidden by default, shown in media query */
    align-items: center;
    justify-content: center;
}

/* Sections Backgrounds */
.bg-light {
    background-color: var(--light-bg);
}

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

/* Hero */
.hero {
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(rgba(0, 174, 239, 0.3), rgba(15, 23, 42, 0.6)), url('images/hero-bg.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    padding-top: 100px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 24px;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.3);
}

.hero h3 {
    font-size: clamp(1rem, 3vw, 1.4rem);
    background: var(--primary-yellow);
    display: inline-block;
    padding: 10px 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

/* App-like Cards */
.app-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.app-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.12);
}

/* Service Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Why Choose Us Grid */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), #0088cc);
    color: white;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    box-shadow: 0 8px 15px rgba(0, 174, 239, 0.2);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary-blue);
}

/* Gallery App Style */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 350px;
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    display: flex;
    align-items: flex-end;
    padding: 30px;
    color: white;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: white;
    padding: 80px 0 40px;
}

/* Mobile Responsive Adjustments (App-like) */
@media (max-width: 992px) {

    .services-grid,
    .why-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 100px 30px;
        transition: 0.4s cubic-bezier(0.1, 0.1, 0.1, 1);
        box-shadow: -15px 0 35px rgba(0, 0, 0, 0.1);
        z-index: 2100;
        gap: 0;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #f1f5f9;
    }

    .nav-links a {
        display: block;
        padding: 15px 0;
        font-size: 1.1rem;
        width: 100%;
    }

    .nav-links a::after {
        display: none;
    }

    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
    }

    .about-grid {
        grid-template-columns: 1fr !important;
    }

    .services-grid,
    .why-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .top-bar {
        font-size: 0.75rem;
    }

    header {
        top: 0;
    }

    /* App-like list styling for mobile */
    .app-card {
        padding: 30px 24px;
    }
}

/* Mobile Menu Overlay */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2050;
    display: none;
}

.menu-overlay.active {
    display: block;
}

/* Contact Page Specific */
.page-header {
    background: linear-gradient(rgba(0, 174, 239, 0.85), rgba(15, 23, 42, 0.9)), url('images/hero-bg.png') no-repeat center center/cover;
    padding: 200px 0 120px;
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 15px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.contact-info-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.contact-info-card:hover {
    transform: translateX(10px);
    border-left: 5px solid var(--primary-blue);
}

.contact-info-card .icon-box {
    width: 60px;
    height: 60px;
    background: rgba(0, 174, 239, 0.1);
    color: var(--primary-blue);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary-blue);
}

.contact-info-card p {
    font-size: 0.95rem;
    color: #475569;
}

.contact-form-card {
    background: white;
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: #f8fafc;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: var(--primary-blue);
    background: white;
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 174, 239, 0.1);
}

@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-form-card {
        padding: 40px 24px;
    }
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}