/* InternetCharlotte.com - Main Stylesheet */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a1a; /* Black */
    --secondary-color: #4a4a4a; /* Gray */
    --accent-color: #2c2c2c; /* Charcoal */
    --dark-color: #000000; /* Pure black */
    --light-color: #f5f5f5; /* Light gray background */
    --text-color: #1a1a1a;
    --text-light: #666666;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #000000 0%, #2c2c2c 50%, #4a4a4a 100%);
    --gradient-secondary: linear-gradient(135deg, #2c2c2c 0%, #4a4a4a 100%);
    --gradient-dark: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* Header and Navigation */
header {
    background: linear-gradient(to right, #1a1a1a 0%, #2c2c2c 50%, #3a3a3a 100%);
    box-shadow: var(--shadow-light);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 35px 20px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 140px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.logo img {
    height: 120px;
    width: auto;
    border-radius: 50px;
    position: relative;
    box-shadow: 
        0 0 20px rgba(0, 0, 0, 0.15),
        inset 0 0 30px rgba(0, 0, 0, 0.1);
    mask-image: radial-gradient(ellipse 85% 65% at center, black 70%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 85% 65% at center, black 70%, transparent 100%);
    object-fit: contain;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-text span {
    color: var(--accent-color);
}

nav ul {
    display: flex;
    gap: 35px;
}

nav ul li a {
    font-weight: 500;
    color: var(--white);
    padding: 8px 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--white);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(44, 44, 44, 0.6)),
                url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?w=1920') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 180px;
}

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

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 35px;
    opacity: 0.95;
    line-height: 1.8;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

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

.btn-primary:hover {
    background: var(--gradient-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    margin-left: 15px;
}

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

/* Page Header (for inner pages) */
.page-header {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.55), rgba(44, 44, 44, 0.65)),
                url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?w=1920') center/cover no-repeat;
    padding: 220px 0 80px;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Sections */
section {
    padding: 80px 0;
}

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

.section-title h2 {
    font-size: 2.4rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background: var(--white);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.service-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--white);
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* About Section */
.about-section {
    background: var(--light-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-text h2 {
    font-size: 2.2rem;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    margin-top: 30px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.about-feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-feature-icon svg {
    width: 25px;
    height: 25px;
    fill: var(--white);
}

.about-feature-text h4 {
    color: var(--dark-color);
    margin-bottom: 5px;
}

.about-feature-text p {
    margin: 0;
    font-size: 0.95rem;
}

/* Why Choose Us */
.why-us {
    background: var(--gradient-dark);
    color: var(--white);
}

.why-us .section-title h2 {
    color: var(--white);
}

.why-us .section-title p {
    color: rgba(255, 255, 255, 0.8);
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    text-align: center;
}

.stat-item {
    padding: 30px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.team-member {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-photo {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.team-info {
    padding: 25px;
}

.team-info h3 {
    color: var(--dark-color);
    margin-bottom: 5px;
}

.team-info .role {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.team-info p {
    color: var(--text-light);
    font-size: 0.95rem;
}

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

.contact-info h2 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
}

.contact-item-text h4 {
    color: var(--dark-color);
    margin-bottom: 3px;
}

.contact-item-text p {
    color: var(--text-light);
    margin: 0;
}

.contact-form {
    background: var(--light-color);
    padding: 40px;
    border-radius: 15px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

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

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    padding: 16px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    text-align: center;
    color: var(--white);
    padding: 80px 0;
}

.cta-section h2 {
    font-size: 2.4rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

.cta-section .btn-secondary {
    border-color: var(--white);
}

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

/* Footer */
footer {
    background: var(--gradient-dark);
    color: var(--white);
    padding-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-about {
    padding-right: 40px;
}

.footer-about .logo {
    margin-bottom: 20px;
    position: relative;
}

.footer-about .logo img {
    height: 120px;
    width: auto;
    border-radius: 50px;
    position: relative;
    box-shadow: 
        0 0 20px rgba(0, 0, 0, 0.15),
        inset 0 0 30px rgba(0, 0, 0, 0.1);
    mask-image: radial-gradient(ellipse 85% 65% at center, black 70%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 85% 65% at center, black 70%, transparent 100%);
    object-fit: contain;
}

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

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-heading {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--white);
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    fill: rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.social-links svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
}

.footer-logo {
    width: auto;
    height: 200px;
    max-width: none;
    margin: 50px auto 0;
    display: block;
    border-radius: 80px;
    box-shadow: 
        0 0 30px rgba(0, 0, 0, 0.2),
        inset 0 0 40px rgba(0, 0, 0, 0.15);
    mask-image: radial-gradient(ellipse 85% 65% at center, black 70%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 85% 65% at center, black 70%, transparent 100%);
    object-fit: contain;
}

.footer-skyline {
    display: none;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(to right, #1a1a1a 0%, #2c2c2c 50%, #3a3a3a 100%);
        box-shadow: var(--shadow-medium);
        display: none;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 20px;
    }

    nav ul li a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        color: var(--white);
    }

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

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

    .btn-secondary {
        margin-left: 0;
        margin-top: 15px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-about {
        padding-right: 0;
    }

    .footer-contact p {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Services Page Specific */
.services-detail {
    background: var(--light-color);
}

.service-detail-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
    background: var(--white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow-light);
}

.service-detail-card:nth-child(even) {
    direction: rtl;
}

.service-detail-card:nth-child(even) > * {
    direction: ltr;
}

.service-detail-image {
    border-radius: 10px;
    overflow: hidden;
}

.service-detail-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.service-detail-content h3 {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.service-detail-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 8px 0;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
}

@media (max-width: 768px) {
    .service-detail-card {
        grid-template-columns: 1fr;
    }

    .service-detail-card:nth-child(even) {
        direction: ltr;
    }
}

/* Form Success Message */
.form-success {
    display: none;
    background: #d4edda;
    color: #155724;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-top: 20px;
}

.form-success.show {
    display: block;
}
