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

:root {
    --primary-color: #1e5a8e;
    --secondary-color: #4a9fd8;
    --accent-color: #2c7bb6;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 20px rgba(0,0,0,0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
}

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

/* Header and Navigation */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
}

.logo h1 {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: 0;
}

.header-phone {
    font-size: 1.3rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.header-phone:hover {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.btn-contact {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 5px;
    transition: background 0.3s;
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.hero-logo {
    margin-bottom: 2rem;
}

.hero-logo img {
    max-width: 300px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.page-hero {
    background: var(--bg-light);
    padding: 2rem 0 1.5rem;
    text-align: center;
}

.page-hero h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.page-hero h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 1rem;
    font-weight: 600;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Services Section */
.services {
    padding: 4rem 0;
    background: var(--bg-light);
}

.services h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
}

.contact h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--primary-color);
}

/* Contact Form */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: var(--secondary-color);
}

/* Map Section */
.projects-map {
    padding: 4rem 0;
    background: var(--bg-light);
}

.projects-map h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.projects-map p {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-light);
}

#map {
    height: 500px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Gallery */
.gallery {
    padding: 4rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-light);
    border-radius: 10px;
}

.gallery-placeholder code {
    background: var(--white);
    padding: 0.3rem 0.6rem;
    border-radius: 3px;
    font-family: monospace;
}

/* Blog */
.blog {
    padding: 4rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.blog-date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.blog-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.blog-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.read-more:hover {
    color: var(--secondary-color);
}

/* CTA Section */
.cta {
    background: var(--primary-color);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

footer p {
    margin: 0.5rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Mobile Header */
    nav .container {
        flex-wrap: nowrap;
        position: relative;
    }

    .logo {
        flex: 1;
    }

    .logo h1 {
        font-size: 1.4rem;
    }

    .header-phone {
        font-size: 1.1rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 1.5rem;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s ease-in-out;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 0.8rem 0;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--bg-light);
    }

    .btn-contact {
        width: 100%;
        text-align: center;
        display: block;
    }

    /* Page Content */
    .hero h2 {
        font-size: 2rem;
    }

    .page-hero h2 {
        font-size: 2rem;
    }

    .service-grid,
    .contact-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    #map {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.2rem;
    }

    .header-phone {
        font-size: 1rem;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

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

    .hero-logo img {
        max-width: 200px;
    }
}

/* Deck Specials Page */
.specials {
    padding: 4rem 0;
}

.special-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.special-intro h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.special-card {
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    position: relative;
}

.special-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.special-card.featured {
    border: 3px solid var(--accent-color);
    background: linear-gradient(to bottom, var(--white), #f0f7ff);
}

.special-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--accent-color);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.special-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.special-price {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.special-price .price {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.special-price .price-detail {
    display: block;
    color: var(--text-light);
    font-size: 1rem;
}

.special-features {
    margin-bottom: 2rem;
    flex-grow: 1;
}

.special-features h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.special-features ul {
    list-style: none;
    padding: 0;
}

.special-features ul li {
    padding: 0.5rem 0 0.5rem 1.8rem;
    position: relative;
    color: var(--text-dark);
}

.special-features ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.special-details {
    margin-bottom: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.special-details p {
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.special-card .btn-primary {
    width: 100%;
    text-align: center;
}

.special-features-section {
    background: var(--bg-light);
    padding: 3rem 2rem;
    border-radius: 10px;
    margin-bottom: 3rem;
}

.special-features-section h3 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
}

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

.feature-item {
    text-align: center;
}

.feature-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.feature-item p {
    color: var(--text-light);
}

.special-terms {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
}

.special-terms h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.special-terms ul {
    list-style: disc;
    padding-left: 2rem;
}

.special-terms ul li {
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Blog Post Pages */
.blog-post {
    padding: 2rem 0 4rem;
}

.blog-post-header {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.back-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--secondary-color);
}

.post-date {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-post-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.post-meta {
    color: var(--text-light);
    font-size: 0.95rem;
}

.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.post-featured-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.blog-post-content .lead {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.blog-post-content h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.blog-post-content h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-post-content h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.blog-post-content p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.blog-post-content ul,
.blog-post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.blog-post-content li {
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.blog-post-content a {
    color: var(--accent-color);
    text-decoration: underline;
    transition: color 0.3s;
}

.blog-post-content a:hover {
    color: var(--primary-color);
}

.cost-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.cost-item {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
}

.cost-item h4 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 1rem;
}

.cost-item p {
    margin-bottom: 0.5rem;
}

.post-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 3rem 2rem;
    border-radius: 10px;
    text-align: center;
    margin-top: 3rem;
}

.post-cta h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.post-cta p {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.post-cta .btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.post-cta .btn-primary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

/* Blog Post Responsive */
@media (max-width: 768px) {
    .blog-post-header h1 {
        font-size: 2rem;
    }

    .blog-post-content h2 {
        font-size: 1.5rem;
    }

    .blog-post-content h3 {
        font-size: 1.3rem;
    }

    .cost-comparison {
        grid-template-columns: 1fr;
    }
}
