/* Modern Responsive Stylesheet for PergolasPro.ie */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #f59e0b;
    --primary-hover: #d97706;
    --primary-dark: #b45309;
    --dark: #0f172a;
    --dark-surface: #1e293b;
    --light-bg: #f8fafc;
    --border-color: #e2e8f0;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: #334155;
    background-color: var(--light-bg);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: var(--font-heading);
    color: #0f172a;
    letter-spacing: -0.02em;
}

/* Utility Containers */
.container-custom {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

/* Hero Section */
.hero-bg {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.82) 100%), 
                url('https://images.unsplash.com/photo-1513694203232-719a280e022f?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
}

/* Glassmorphism & Modern Cards */
.card-glass {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-glass:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #0f172a;
    font-weight: 700;
    padding: 0.875rem 1.75rem;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(245, 158, 11, 0.25);
    transition: all 0.2s ease;
}
.btn-primary:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    transform: translateY(-2px);
    box-shadow: 0 15px 20px -3px rgba(245, 158, 11, 0.35);
}

.btn-secondary {
    background: #0f172a;
    color: #ffffff;
    font-weight: 700;
    padding: 0.875rem 1.75rem;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    border: 1px solid #334155;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-secondary:hover {
    background: #1e293b;
    border-color: #475569;
    transform: translateY(-2px);
}

/* Quote Estimator Wizard */
.wizard-step {
    display: none;
}
.wizard-step.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

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

.option-card {
    border: 2px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
}
.option-card:hover {
    border-color: #f59e0b;
    background: #fffbeb;
}
.option-card.selected {
    border-color: #d97706;
    background: #fffbeb;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

/* FAQ Accordions */
.faq-header {
    cursor: pointer;
    transition: all 0.2s ease;
}
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}
.faq-item.active .faq-content {
    max-height: 1000px;
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}
.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(15, 23, 42, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.lightbox-modal.active {
    display: flex;
}

/* Custom Tailwind Helper Classes */
.bg-slate-900 { background-color: #0f172a; }
.bg-slate-950 { background-color: #020617; }
.bg-slate-800 { background-color: #1e293b; }
.bg-slate-50 { background-color: #f8fafc; }
.bg-white { background-color: #ffffff; }
.text-amber-400 { color: #fbbf24; }
.text-amber-500 { color: #f59e0b; }
.text-amber-600 { color: #d97706; }
.text-slate-900 { color: #0f172a; }
.text-slate-700 { color: #334155; }
.text-slate-600 { color: #475569; }
.text-slate-500 { color: #64748b; }
.text-slate-400 { color: #94a3b8; }
.text-white { color: #ffffff; }
.border-slate-800 { border-color: #1e293b; }
.border-slate-100 { border-color: #f1f5f9; }
.border-slate-200 { border-color: #e2e8f0; }

/* Grid Layouts */
.grid-cols-auto-fit {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
