/*
Theme Name: DC Developers
Theme URI: https://dcdevelopers.com
Author: DC Developers
Author URI: https://dcdevelopers.com
Description: A custom WordPress theme for DC Developers
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dcdevelopers
Tags: tailwind, custom-logo, custom-menu, featured-images, responsive-layout, mobile-friendly

This theme is designed with Tailwind CSS.
*/

/* Base styles */
body {
    margin: 0;
    padding: 0;
    font-family: Manrope, "Noto Sans", sans-serif;
    background-color: #221112;
    color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
}

input:focus {
    outline: none;
}

/* Responsive layout fixes */
.layout-content-container {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
}

.client-card {
    min-width: 160px;
    flex: 1;
}

/* Mobile menu */
#mobile-menu-toggle {
    display: block;
    padding: 0.5rem;
    background: none;
    border: none;
    color: white;
    transition: opacity 0.3s ease;
}

#mobile-menu-toggle:hover {
    opacity: 0.8;
}

#mobile-menu {
    display: none;
    padding: 1rem;
    border-bottom: 1px solid #472426;
    background-color: #221112;
}

#mobile-menu a {
    display: block;
    padding: 0.5rem 0;
    color: white;
    font-size: 1rem;
}

/* Responsive styles */
@media (min-width: 768px) {
    #mobile-menu-toggle {
        display: none;
    }
    
    .desktop-menu {
        display: flex !important;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Content spacing */
.main-content {
    padding: 1rem;
}

@media (min-width: 768px) {
    .main-content {
        padding: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .main-content {
        padding: 2.5rem 5rem;
    }
}

/* Hero section */
.hero-section {
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .hero-section {
        border-radius: 0.5rem;
        padding: 2rem;
    }
}

/* Text sizing */
.hero-title {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.033em;
}

.hero-description {
    font-size: 0.875rem;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
}

/* Buttons */
.primary-button {
    background-color: #ea2832;
    color: white;
    font-weight: bold;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Client carousel */
.client-carousel {
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.client-carousel::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Opera */
}

/* Section titles */
.section-title {
    font-size: 1.375rem;
    font-weight: bold;
    margin: 1.5rem 0 0.75rem 0;
}

/* Contact form */
.contact-form input {
    width: 100%;
    padding: 1rem;
    background-color: #472426;
    border: none;
    border-radius: 0.5rem;
    color: white;
}

.contact-form input::placeholder {
    color: #c89295;
}

/* Success message */
.success-message {
    background-color: #15803d;
    color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
}

