/* Base Styles */
:root {
    --primary-color: #ffffff;
    --secondary-color: #e0e0e0;
    --accent-color: #ffffff;
    --text-color: #ffffff;
    --dark-bg: #000000;
    --card-bg: #1a1a1a;
    --header-gradient: linear-gradient(135deg, #000000 0%, #333333 100%);
    --light-bg: #ffffff;
    --light-text: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
}

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

/* Header Styles */
header {
    background: var(--header-gradient);
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-bg);
    font-weight: bold;
    font-size: 20px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--accent-color);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    background: url('https://source.unsplash.com/random/1200x800/?business') center/cover no-repeat;
    background-blend-mode: overlay;
    background-color: rgba(18, 18, 18, 0.7);
}

.hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(90deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-color);
}

.hero-description p {
    margin-bottom: 1em;
}

.cta-button {
    display: inline-block;
    background: #ffffff;
    color: #000000 !important; /* Force black text in all states */
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
}

.cta-button:hover {
    background: transparent;
    color: #ffffff !important; /* Force white text on hover */
    border-color: #ffffff;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: #ffffff;
    color: #000000;
}

.about .section-title h2,
.about .about-text h3 {
    color: #000000;
}

.about-text p {
    margin-bottom: 1.5em; /* Increase paragraph spacing */
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    display: inline-block;
    background: linear-gradient(90deg, #9a67ea, #6b3fa0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: #000000;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    width: 100%;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #000000;
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: #000000;
    color: #ffffff;
    text-align: center;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 50px auto;
    max-width: 1000px;
}

.service-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.service-content {
    color: #cccccc;
    line-height: 1.6;
}

.service-content p {
    margin-bottom: 1em;
}

.service-content a {
    color: #ffffff;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.service-content a:hover {
    color: var(--accent-color);
}

/* Directories Section (de-emphasized) */
.directories {
    padding: 60px 0;
    background-color: #111111;
    color: #999999;
    text-align: center;
}

.directories-title {
    text-align: center;
    margin-bottom: 30px;
}

.directories-title h3 {
    font-size: 1.4rem;
    color: #777777;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.directory-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 0 auto;
    max-width: 1000px;
}

.directory-card {
    background-color: #161616;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #222222;
    text-align: left;
    transition: border-color 0.3s ease;
}

.directory-card:hover {
    border-color: #333333;
}

.directory-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #aaaaaa;
    font-weight: 600;
}

.directory-content {
    color: #777777;
    line-height: 1.5;
    font-size: 0.9rem;
}

.directory-content p {
    margin-bottom: 0.8em;
}

.directory-content a {
    color: #999999;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.directory-content a:hover {
    color: #cccccc;
}

/* Footer */
footer {
    background-color: #0a0a0a;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #777;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }

    .about-text {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    nav {
        position: fixed;
        top: 0;
        right: -280px;
        height: 100vh;
        width: 280px;
        background-color: var(--card-bg);
        z-index: 1000;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }

    nav ul {
        flex-direction: column;
        padding: 80px 30px 30px;
    }

    nav ul li {
        margin-left: 0;
        margin-bottom: 20px;
    }

    .mobile-nav-toggle {
        display: block;
        z-index: 2000;
    }

    nav.active {
        right: 0;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .service-cards {
        grid-template-columns: 1fr;
    }
}