/* --- Base Styles & Colors --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #1a1a1c; 
    color: #ffffff; 
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Top Announcement Bar --- */
.top-bar {
    background-color: #cc0000;
    color: #ffffff;
    text-align: center;
    padding: 10px 20px;
    font-weight: bold;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    z-index: 2000;
    position: relative;
}

.top-bar a {
    color: #ffffff;
    text-decoration: underline;
    margin-left: 10px;
}

.top-bar a:hover {
    color: #111111;
}

/* --- Scroll Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Navigation & Header --- */
header {
    background-color: #111111;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #cc0000; 
    position: sticky; 
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-text .red {
    color: #cc0000;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.3s;
}

nav a:hover, nav a.active {
    color: #cc0000;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #cc0000;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: background-color 0.3s, transform 0.2s;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #990000;
    transform: translateY(-2px);
}

/* --- Floating Call Button --- */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #cc0000;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.6);
    z-index: 1000;
    transition: transform 0.3s, background-color 0.3s;
    text-decoration: none;
}

.floating-btn:hover {
    background-color: #990000;
    transform: scale(1.1);
}

/* --- Typography & Sections --- */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.section-title span {
    color: #cc0000;
    border-bottom: 3px solid #cc0000;
    padding-bottom: 5px;
}

section {
    padding: 80px 0;
}

/* --- Hero Section --- */
.hero {
    text-align: center;
    padding: 120px 20px;
    background-color: #111111;
    background-image: linear-gradient(rgba(17, 17, 17, 0.8), rgba(17, 17, 17, 0.9));
    border-bottom: 1px solid #333;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero h1 span {
    color: #cc0000;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #cccccc;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Stats Counter Section --- */
.stats-section {
    background-color: #cc0000;
    padding: 50px 20px;
    text-align: center;
    border-bottom: 3px solid #111;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-box {
    color: #ffffff;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: bold;
    display: block;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #222225;
    padding: 40px 30px;
    border-top: 4px solid #cc0000;
    border-radius: 5px;
    text-align: center;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.service-card p {
    color: #aaaaaa;
    margin-bottom: 20px;
}

/* --- Portfolio Gallery Grid --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    aspect-ratio: 4/3;
    background-color: #222225;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(17, 17, 17, 0.95));
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.portfolio-item:hover img {
    transform: scale(1.08);
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h3 {
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.portfolio-overlay p {
    color: #cc0000;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* --- Testimonials Grid --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: #222225;
    padding: 40px 30px;
    border-left: 4px solid #cc0000;
    border-radius: 5px;
}

.testimonial-card p {
    font-style: italic;
    color: #cccccc;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.testimonial-card h4 {
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- FAQ Accordion --- */
.faq-section {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #222225;
    margin-bottom: 15px;
    border-radius: 5px;
    border-left: 4px solid #cc0000;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    transition: color 0.3s;
}

.faq-question:hover {
    color: #cc0000;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: #cc0000;
    transition: transform 0.3s;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    padding: 0 20px;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    color: #ccc;
}

.faq-answer.show {
    padding: 0 20px 20px 20px;
}

/* --- Contact Page Layout --- */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info, .contact-form-container {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #cc0000;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #cccccc;
}

/* --- Forms --- */
form {
    background-color: #222225;
    padding: 40px;
    border-radius: 5px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #cccccc;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: #1a1a1c;
    border: 1px solid #444;
    color: #fff;
    border-radius: 4px;
    font-family: inherit;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: #cc0000;
}

/* --- Custom Checkbox Style --- */
.custom-checkbox {
    display: block;
    position: relative;
    padding-left: 36px; /* Pushes the text over to make room for the box */
    cursor: pointer;
    font-size: 1rem;
    user-select: none;
    color: #ffffff;
    line-height: 1.6;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* The actual box */
.checkmark {
    position: absolute;
    top: 2px; /* Aligns the box with the top of the text */
    left: 0;
    height: 24px;
    width: 24px;
    background-color: #1a1a1c;
    border: 2px solid #444;
    border-radius: 4px;
    transition: all 0.3s;
}

/* Hover effect */
.custom-checkbox:hover input ~ .checkmark {
    border-color: #cc0000;
}

/* Checked background */
.custom-checkbox input:checked ~ .checkmark {
    background-color: #cc0000;
    border-color: #cc0000;
}

/* Create the checkmark (hidden by default) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show checkmark when checked */
.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

/* Style the white checkmark */
.custom-checkbox .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    display: block;
}

/* --- Fat Footer Upgrade --- */
.fat-footer {
    background-color: #111111;
    border-top: 3px solid #cc0000;
    padding: 60px 20px 20px;
    color: #ccc;
    margin-top: 50px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #cc0000;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.9rem;
}

/* --- Cookie Consent Banner --- */
.cookie-consent-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: #222225;
    color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    border-left: 5px solid #cc0000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    display: none; 
    z-index: 10000;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-content {
    flex: 2;
    min-width: 250px;
}

.cookie-content h4 {
    color: #cc0000;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-size: 1.1rem;
}

.cookie-content p {
    color: #cccccc;
    font-size: 0.95rem;
}

.cookie-buttons {
    flex: 1;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    min-width: 200px;
}

.cookie-btn {
    padding: 10px 25px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.85rem;
}

.accept-btn {
    background-color: #cc0000;
    color: white;
    border: none;
}

.accept-btn:hover {
    background-color: #990000;
    transform: translateY(-2px);
}

.decline-btn {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #444;
}

.decline-btn:hover {
    border-color: #cc0000;
    color: #cc0000;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    /* Header */
    header {
        flex-direction: column;
        padding: 15px;
        text-align: center;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    /* Hero Section */
    .hero {
        padding: 80px 15px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }

    /* Section Adjustments */
    section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    /* Stats */
    .stats-grid {
        flex-direction: column;
        gap: 30px;
    }

    /* Forms */
    form {
        padding: 25px;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-col h4 {
        margin-top: 10px;
    }

    /* Cookie Banner */
    .cookie-consent-banner {
        flex-direction: column;
        text-align: center;
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: 0;
        border-left: none;
        border-top: 5px solid #cc0000;
    }
    
    .cookie-buttons {
        justify-content: center;
        width: 100%;
    }
}