/*
Theme Name: Attractive Custom Theme
Theme URI: https://example.com/attractive-custom-theme
Author: Your Name
Author URI: https://example.com
Description: A modern, attractive WordPress custom theme with full functionality including About, Contact, Projects, and other essential pages.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: attractive-custom
Tags: custom-theme, responsive, modern, clean, portfolio, business
*/

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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #000000;
}

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

/* Header Styles */
header {
    background: #000000;
    color: #e0e0e0;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    border-bottom: 1px solid #333;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 2rem;
    font-weight: normal;
    text-decoration: none;
    color: #e0e0e0;
    font-family: 'Georgia', 'Times New Roman', serif;
    letter-spacing: 2px;
}

.site-title:hover {
    color: #ffffff;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

nav a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: normal;
    transition: color 0.3s ease;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

nav a:hover {
    color: #ffffff;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #e0e0e0;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Main Content */
main {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

/* Hero Section */
.hero {
    background: #000000;
    color: #e0e0e0;
    padding: 100px 0;
    text-align: center;
    border-bottom: 1px solid #333;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    font-weight: normal;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #000000;
    color: #e0e0e0;
    text-decoration: none;
    border: 1px solid #333;
    font-weight: normal;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.btn:hover {
    background: #e0e0e0;
    color: #000000;
    transform: translateY(-2px);
}

/* Section Styles */
section {
    padding: 80px 0;
    border-bottom: 1px solid #333;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #e0e0e0;
    font-weight: normal;
    font-family: 'Georgia', 'Times New Roman', serif;
}

/* About Section */
.about {
    background: #000000;
}

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

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e0e0e0;
}

.about-image {
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid #333;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: #000000;
    border: 1px solid #333;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: #e0e0e0;
}

.project-image {
    height: 200px;
    background: #111111;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e0e0e0;
    font-size: 1.2rem;
    border-bottom: 1px solid #333;
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #e0e0e0;
    font-weight: normal;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.project-description {
    color: #b0b0b0;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    background: #000000;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: normal;
    color: #e0e0e0;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: #111111;
    border: 1px solid #333;
    border-radius: 5px;
    font-size: 1rem;
    color: #e0e0e0;
    transition: border-color 0.3s ease;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e0e0e0;
}

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

.submit-btn {
    width: 100%;
    padding: 15px;
    background: #000000;
    color: #e0e0e0;
    border: 1px solid #333;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: normal;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.submit-btn:hover {
    background: #e0e0e0;
    color: #000000;
}

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

.service-card {
    text-align: center;
    padding: 2rem;
    background: #000000;
    border: 1px solid #333;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #e0e0e0;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #111111;
    border: 1px solid #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #e0e0e0;
    font-size: 2rem;
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #e0e0e0;
    font-weight: normal;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.service-description {
    color: #b0b0b0;
    line-height: 1.6;
}

/* Footer */
footer {
    background: #000000;
    color: #e0e0e0;
    padding: 3rem 0 1rem;
    border-top: 1px solid #333;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #e0e0e0;
    font-weight: normal;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

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

.footer-section a:hover {
    color: #e0e0e0;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #b0b0b0;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    nav ul.active {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 60px 0;
    }
}

/* WordPress Specific Classes */
.aligncenter {
    display: block;
    margin: 0 auto;
}

.alignleft {
    float: left;
    margin-right: 1rem;
}

.alignright {
    float: right;
    margin-left: 1rem;
}

.wp-caption {
    background: #111111;
    border: 1px solid #333;
    padding: 0.5rem;
    text-align: center;
    border-radius: 5px;
}

.wp-caption-text {
    font-size: 0.9rem;
    color: #b0b0b0;
    margin-top: 0.5rem;
}

/* Additional dark theme styles */
h1, h2, h3, h4, h5, h6 {
    color: #e0e0e0;
    font-weight: normal;
    font-family: 'Georgia', 'Times New Roman', serif;
}

p {
    color: #e0e0e0;
}

a {
    color: #e0e0e0;
}

a:hover {
    color: #ffffff;
}

input, textarea, select {
    background: #111111;
    color: #e0e0e0;
    border: 1px solid #333;
}

blockquote {
    border-left: 4px solid #333;
    color: #b0b0b0;
    background: #111111;
    padding: 1rem;
    margin: 1rem 0;
}

code {
    background: #111111;
    color: #e0e0e0;
    padding: 2px 4px;
    border-radius: 3px;
}

pre {
    background: #111111;
    color: #e0e0e0;
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
    border: 1px solid #333;
}

table {
    background: #000000;
    color: #e0e0e0;
    border-collapse: collapse;
    width: 100%;
}

th, td {
    border: 1px solid #333;
    padding: 0.75rem;
    text-align: left;
}

th {
    background: #111111;
    font-weight: normal;
    font-family: 'Georgia', 'Times New Roman', serif;
}

hr {
    border: none;
    border-top: 1px solid #333;
    margin: 2rem 0;
}
