/* ========================================
   MAR ELITE ROOFING - UNIFIED STYLES
   ======================================== */

/* Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #D4AF37;
    --red: #DC143C;
    --dark: #1a1a1a;
    --darker: #0d0d0d;
    --light: #fff;
    --gray: #666;
    --light-bg: #f9f9f9;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   TOP BAR
   ======================================== */
.top-bar {
    background: var(--light);
    color: var(--dark);
    padding: 15px 0;
    border-bottom: 3px solid var(--gold);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.contact-info {
    display: flex;
    gap: 25px;
    align-items: center;
    flex-wrap: wrap;
}

.contact-info a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
}

.contact-info a:hover {
    color: var(--red);
    background: rgba(220, 20, 60, 0.1);
}

.contact-info i {
    color: var(--red);
    font-size: 18px;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
header {
    background: var(--light);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.logo {
    padding: 10px 0;
}

.logo-img {
    height: 80px;
    width: auto;
    border-radius: 30px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 5px 10px;
    border-radius: 5px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--red);
    background: rgba(220, 20, 60, 0.1);
}

.cta-button {
    background: var(--red);
    color: var(--light);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
}

.cta-button:hover {
    background: #b8112e;
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* ========================================
   PAGE HEADERS
   ======================================== */
.page-header {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--light);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--gold);
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header p {
    font-size: 20px;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* ========================================
   SECTIONS
   ======================================== */
.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--dark);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 50px;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: var(--red);
    color: var(--light);
}

.btn-primary:hover {
    background: #b8112e;
    transform: translateY(-2px);
}

.btn-light {
    background: var(--light);
    color: var(--dark);
}

.btn-light:hover {
    background: var(--gold);
    color: var(--light);
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    background: var(--darker);
    color: var(--light);
    padding: 50px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 35px;
    margin-bottom: 30px;
}

.footer-col h3 {
    color: var(--gold);
    margin-bottom: 18px;
    font-size: 20px;
}

.footer-col p {
    margin-bottom: 10px;
    color: #ccc;
    font-size: 14px;
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col a {
    color: var(--light);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.footer-col a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--gray);
    font-size: 14px;
}

/* ========================================
   WHATSAPP BUTTON
   ======================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: var(--light);
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background: #20ba55;
    transform: scale(1.1);
}

/* ========================================
   PRIVACY PAGE
   ======================================== */
.privacy-content {
    padding: 80px 0;
    background: var(--light);
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-content h2 {
    font-size: 28px;
    color: var(--dark);
    margin: 35px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
}

.privacy-content p {
    margin-bottom: 20px;
    color: var(--gray);
    line-height: 1.8;
}

.privacy-content ul {
    margin: 20px 0 20px 40px;
    color: var(--gray);
}

.privacy-content ul li {
    margin-bottom: 10px;
}

.privacy-content a {
    color: var(--red);
    text-decoration: none;
    transition: var(--transition);
}

.privacy-content a:hover {
    color: var(--gold);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
    /* Navigation */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--light);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Top Bar */
    .contact-info {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    /* Page Header */
    .page-header {
        height: 300px;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .page-header p {
        font-size: 16px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
    }

    /* WhatsApp Button */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
}