/* 
    Patriot Plumbing - Stylesheet 
    Colors: Deep Navy Blue, Crisp White, Crimson Red 
*/

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

:root {
    --primary-color: #001d8c; /* Darker Blue */
    --primary-light: #001466;
    --secondary-color: #c20100; /* Darker Red */
    --secondary-hover: #9e0100;
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #ffffff;
    --bg-light: #f4f7f6;
    --white: #ffffff;
    
    --font-main: 'Inter', sans-serif;
    
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

.section {
    padding: 80px 0;
}

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

.bg-blue {
    background-color: var(--primary-color);
}

.text-red {
    color: var(--secondary-color);
}

.text-blue {
    color: var(--primary-color);
}

.text-white {
    color: var(--white);
}

.hover-red:hover {
    color: var(--secondary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition);
    padding: 15px 0;
}

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

.logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    font-weight: 400;
    letter-spacing: 1.5px;
}

.logo-red {
    color: var(--secondary-color);
}

.logo-blue {
    color: var(--primary-color);
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    padding-top: 80px; /* Offset for header */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Abstract patriotic gradient since we don't have an image */
    background: linear-gradient(135deg, #0a192f 0%, #172a45 50%, #e63946 100%);
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 25, 47, 0.7);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
}

.badge {
    display: inline-block;
    padding: 5px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Services */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

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

.service-card {
    background: var(--white);
    color: var(--text-color);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-bottom: 4px solid var(--secondary-color);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Service Areas */
.areas-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.areas-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.areas-text p {
    margin-bottom: 15px;
}

.image-placeholder {
    background: linear-gradient(45deg, #172a45, #0a192f);
    height: 400px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: var(--shadow);
}

.mt-2 {
    margin-top: 20px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-placeholder {
    background: #ccc;
    height: 500px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-weight: 600;
    background: linear-gradient(135deg, #f4f7f6, #e0e5e3);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
}

.experience-badge .number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
}

.feature-list {
    margin-top: 30px;
}

.feature-list li {
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--white);
}

.check {
    color: var(--secondary-color);
    margin-right: 10px;
    font-weight: bold;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.info-items {
    margin-top: 40px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-icon {
    font-size: 1.5rem;
    margin-right: 20px;
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--white);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    color: var(--text-color);
    box-shadow: var(--shadow);
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-main);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: var(--primary-light);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links a {
    margin-left: 20px;
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

/* Animations */
.pulse-anim {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .areas-content, .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header .header-cta { display: none; }
    
    .mobile-menu-toggle { display: block; }
    
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        flex-direction: column;
        transition: var(--transition);
        padding: 40px 20px;
    }
    
    .nav.active { left: 0; }
    
    .nav-list {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        font-size: 1.2rem;
    }
    
    .hero h1 { font-size: 2.2rem; }
    .hero-actions { flex-direction: column; }
}

/* --- Inner Page Styles --- */
.inner-hero {
    position: relative;
    padding: 120px 0 60px;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.inner-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.service-details {
    padding: 60px 0;
}

.service-details h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-details p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.service-details ul {
    margin-bottom: 30px;
}

.service-details li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.service-details li::before {
    content: '★';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* --- Flyer Page Layout Styles --- */
.flyer-page-wrapper {
    background: linear-gradient(180deg, rgba(2, 26, 66, 0.8) 0%, rgba(0, 12, 36, 0.95) 100%), url('image2.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 120px 20px 60px; /* Top padding for fixed header */
    font-family: var(--font-main);
}

.flyer-content {
    max-width: 900px;
    margin: 0 auto;
    background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 20px 20px;
}

.flyer-header {
    text-align: center;
    margin-bottom: 40px;
}

.flyer-pre-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: var(--white);
    letter-spacing: 2px;
    margin: 0;
    line-height: 1;
}

.flyer-main-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 6rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    line-height: 0.9;
    margin: 10px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.flyer-sub-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    background: var(--secondary-color);
    color: var(--white);
    display: inline-block;
    padding: 5px 20px;
    transform: skew(-10deg);
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.flyer-sub-heading span {
    display: inline-block;
    transform: skew(10deg);
}

.flyer-list {
    margin: 40px 0;
    padding: 0;
    list-style: none;
}

.flyer-list li {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    margin-bottom: 15px;
    padding: 15px 20px;
    border-left: 4px solid var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 600;
}

.flyer-list-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border: 2px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.flyer-list-text {
    flex-grow: 1;
}

.flyer-warning {
    text-align: center;
    margin: 40px 0;
}

.flyer-warning p {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.flyer-coupon-btn:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* --- Flyer Image Styles --- */
.flyer-image-container {
    max-width: 800px;
    margin: 20px auto 40px;
    padding: 0 20px;
    text-align: center;
}

.flyer-hero-img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 3px solid var(--primary-color);
}

.flyer-coupon {
    background: var(--white);
    color: var(--primary-color);
    border: 4px dashed #999;
    padding: 30px;
    text-align: center;
    margin: 40px auto;
    position: relative;
}

.flyer-coupon-amount {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5rem;
    color: var(--secondary-color);
    line-height: 1;
}

.flyer-coupon-desc {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    margin: 10px 0;
}

.flyer-coupon-fineprint {
    font-size: 0.9rem;
    color: #666;
    margin-top: 15px;
}

.flyer-badges {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.flyer-badge {
    flex: 1;
    min-width: 150px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 800;
    font-size: 0.9rem;
    border-top: 1px dotted rgba(255,255,255,0.3);
    border-bottom: 1px dotted rgba(255,255,255,0.3);
    padding: 10px 0;
}

.flyer-badge-icon {
    font-size: 1.5rem;
    color: var(--white);
}

@media (max-width: 768px) {
    .flyer-main-heading { font-size: 4rem; }
    .flyer-sub-heading { font-size: 2rem; }
    .flyer-coupon-amount { font-size: 3.5rem; }
    .flyer-list li { font-size: 1rem; }
    .flyer-badge { min-width: 45%; }
}
