/*
Theme Name: Alabama Moving Co
Theme URI: https://alabamamovingco.com
Author: Custom Development
Author URI: https://alabamamovingco.com
Description: SEO-friendly custom WordPress theme for Alabama Moving Company - professional moving services in Alabama
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alabama-moving
Tags: business, local-seo, responsive, custom-forms, two-columns
*/

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
}

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

a {
    text-decoration: none;
    color: #0066cc;
    transition: color 0.3s ease;
}

a:hover {
    color: #004999;
}

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

/* Header Styles */
.site-header {
    background: #003366;
    color: #fff;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

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

.site-title {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    margin: 0;
}

.site-title a {
    color: #fff;
}

.site-description {
    color: #ccc;
    font-size: 14px;
    margin-top: 5px;
}

/* Navigation */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
}

.main-navigation a {
    color: #fff;
    font-weight: 500;
    padding: 10px 0;
    display: block;
}

.main-navigation a:hover {
    color: #00aaff;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0066cc 0%, #003366 100%);
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 52px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.hero-section p {
    font-size: 22px;
    margin-bottom: 30px;
    font-weight: 300;
    opacity: 0.95;
}

/* Hero Section Split Layout */
.hero-section-split {
    background: linear-gradient(135deg, #0066cc 0%, #003366 100%);
    color: #fff;
    padding: 80px 0;
    min-height: 650px;
    display: flex;
    align-items: center;
}

.hero-split-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    padding-right: 20px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.hero-description {
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: 300;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-phone {
    font-size: 24px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-phone i {
    font-size: 22px;
    color: #00aaff;
}

.hero-phone a {
    color: #00aaff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hero-phone a:hover {
    color: #fff;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    padding: 12px 0;
}

.hero-feature i {
    font-size: 20px;
    color: #00aaff;
    min-width: 25px;
}

.hero-form {
    padding-left: 20px;
}

.hero-form .quote-form-container {
    max-width: 100%;
    margin: 0;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
    border: none;
}

.hero-form .quote-form-container h2 {
    text-align: center;
    color: #1a1a1a;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 700;
}

/* Quote Form Section */
.quote-form-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.quote-form-container {
    max-width: 650px;
    margin: 0 auto;
    background: #ffffff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border: 1px solid #e0e0e0;
}

.quote-form-container h2 {
    text-align: center;
    color: #1a1a1a;
    margin-bottom: 35px;
    font-size: 36px;
    font-weight: 700;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-group input:hover,
.form-group textarea:hover {
    background: #ffffff;
    border-color: #c0c0c0;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    background: #ffffff;
}

.submit-btn {
    background: #0066cc;
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.15);
    border-color: #0066cc;
}

.service-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.service-item:hover img {
    transform: scale(1.02);
}

.service-item h3 {
    margin-bottom: 15px;
    color: #1a1a1a;
    font-size: 22px;
    font-weight: 600;
}

.service-item p {
    color: #555;
    line-height: 1.7;
}

/* Blog/Posts Styles */
.content-area {
    padding: 60px 0;
}

.site-main {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Single Post Layout */
.single-post-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.post-content-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.post-title {
    font-size: 36px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.post-meta {
    color: #666;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.post-meta span {
    margin-right: 20px;
}

.featured-image {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
}

.post-content h2,
.post-content h3,
.post-content h4 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content ul,
.post-content ol {
    margin-left: 30px;
    margin-bottom: 20px;
}

/* Post Navigation */
.post-navigation {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.nav-previous,
.nav-next {
    flex: 1;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.nav-previous:hover,
.nav-next:hover {
    background: #f0f0f0;
}

.nav-next {
    text-align: right;
}

/* Sidebar */
.sidebar {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 100px;
}

.sidebar h3 {
    margin-bottom: 20px;
    color: #1a1a1a;
    border-bottom: 3px solid #0066cc;
    padding-bottom: 10px;
}

.recent-posts-list {
    list-style: none;
}

.recent-posts-list li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.recent-posts-list li:last-child {
    border-bottom: none;
}

.recent-posts-list a {
    color: #333;
    font-weight: 500;
}

.recent-posts-list a:hover {
    color: #0066cc;
}

/* Page Full Width */
.page-full-width {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-title {
    font-size: 42px;
    margin-bottom: 30px;
    color: #1a1a1a;
}

.page-content {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
}

/* Category Page */
.archive-header {
    background: linear-gradient(135deg, #0066cc 0%, #003366 100%);
    color: #fff;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 40px;
    text-align: center;
}

.archive-title {
    font-size: 36px;
    margin-bottom: 10px;
}

.archive-description {
    font-size: 18px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.post-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.post-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.post-card-content {
    padding: 25px;
}

.post-card-title {
    font-size: 22px;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.post-card-title a {
    color: #1a1a1a;
}

.post-card-title a:hover {
    color: #0066cc;
}

.post-card-excerpt {
    color: #666;
    margin-bottom: 15px;
}

.read-more {
    color: #0066cc;
    font-weight: 600;
}

/* Footer */
.site-footer {
    background: #003366;
    color: #fff;
    padding: 50px 0 20px;
    margin-top: 60px;
}

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

.footer-section h3 {
    color: #00aaff;
    margin-bottom: 20px;
    font-size: 20px;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: #00aaff;
}

.contact-info a {
    color: #fff;
}

.contact-info a:hover {
    color: #00aaff;
}

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

/* Responsive Design */
@media (max-width: 968px) {
    .single-post-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 10px;
    }

    .site-header .container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 968px) {
    .hero-split-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        padding-right: 0;
        text-align: center;
    }

    .hero-phone {
        justify-content: center;
    }

    .hero-features {
        align-items: center;
    }

    .hero-form {
        padding-left: 0;
    }

    .hero-section-split {
        min-height: auto;
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .hero-section {
        padding: 60px 0;
    }

    .hero-section h1 {
        font-size: 36px;
    }

    .hero-section p {
        font-size: 18px;
    }

    .hero-section-split {
        padding: 50px 0;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-description {
        font-size: 18px;
    }

    .hero-phone {
        font-size: 20px;
    }

    .hero-form .quote-form-container {
        padding: 35px 25px;
    }

    .hero-form .quote-form-container h2 {
        font-size: 24px;
    }

    .quote-form-section {
        padding: 60px 0;
    }

    .quote-form-container {
        padding: 35px 25px;
    }

    .quote-form-container h2 {
        font-size: 28px;
    }

    .post-title {
        font-size: 28px;
    }

    .page-title {
        font-size: 32px;
    }

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

    .post-navigation {
        flex-direction: column;
    }

    .services-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .site-title {
        font-size: 20px;
    }

    .hero-section {
        padding: 50px 0;
    }

    .hero-section h1 {
        font-size: 28px;
    }

    .hero-section p {
        font-size: 16px;
    }

    .hero-section-split {
        padding: 40px 0;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-phone {
        font-size: 18px;
        flex-direction: column;
        gap: 8px;
    }

    .hero-feature {
        font-size: 14px;
    }

    .hero-form .quote-form-container {
        padding: 25px 18px;
    }

    .hero-form .quote-form-container h2 {
        font-size: 22px;
    }

    .quote-form-container {
        padding: 30px 20px;
    }

    .quote-form-container h2 {
        font-size: 24px;
    }
}
