/*
Theme Name: Sunnyside Builders
Theme URI: https://sunnysidebuildersinc.com
Author: Benjamin Maxwell Creative
Author URI: https://benjaminmaxwellcreative.com
Description: Custom WordPress theme for Sunnyside Builders Inc. - General Contractor. Fully editable from the WordPress admin.
Version: 1.0.0
License: All Rights Reserved
Text Domain: sunnyside
*/

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    --primary-color: #000000;
    --secondary-color: #333333;
    --text-color: #ffffff;
    --accent-color: #ffd700;
    --accent-color-2: #800020;
    --transition: all 0.3s ease;
}

/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--primary-color);
}

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

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    background-color: var(--primary-color);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    height: 180px;
}

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

.logo img {
    max-height: 140px;
    width: auto;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--text-color);
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 2.5rem;
    transition: var(--transition);
    position: relative;
    padding-bottom: 5px;
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color-2);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active::after,
.nav-links .current-menu-item a::after,
.nav-links .current_page_item a::after {
    width: 100%;
    background-color: var(--accent-color);
}

/* WordPress menu reset */
.nav-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.nav-links ul li {
    margin: 0;
}

.nav-links ul li a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 2.5rem;
    transition: var(--transition);
    position: relative;
    padding-bottom: 5px;
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

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

.nav-links ul li a:hover::after {
    width: 100%;
}

.nav-links ul .current-menu-item a::after,
.nav-links ul .current_page_item a::after {
    width: 100%;
    background-color: var(--accent-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 2px 0;
    transition: var(--transition);
}

/* ============================================
   MAIN CONTENT
   ============================================ */
main {
    padding-top: 180px;
}

/* ============================================
   HERO SECTION (Homepage)
   ============================================ */
.hero {
    position: relative;
    height: calc(100vh - 180px);
    min-height: 500px;
    max-height: 900px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    margin-bottom: 4rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    position: relative;
    max-width: 800px;
    width: 90%;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 3rem;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transform: translateY(0);
    animation: fadeInUp 1s ease-out;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 0.75rem;
    color: var(--text-color);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeIn 1s ease-out 0.3s both;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content h2 {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 600;
    letter-spacing: 1px;
    animation: fadeIn 1s ease-out 0.6s both;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    padding: 0.4rem 1.2rem;
    border-left: 4px solid var(--accent-color);
    border-right: 4px solid var(--accent-color);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.license-number {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--text-color);
    margin: 1.5rem 0;
    font-weight: 500;
    letter-spacing: 1px;
    animation: fadeIn 1s ease-out 0.7s both;
}

.cta-button {
    display: inline-block;
    padding: clamp(0.8rem, 1.5vw, 1rem) clamp(1.8rem, 3vw, 2rem);
    margin-top: 1.5rem;
    background-color: var(--accent-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-color);
    animation: fadeIn 1s ease-out 0.9s both;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
}

.cta-button:hover {
    transform: translateY(-3px);
    background-color: var(--accent-color-2);
    color: var(--text-color);
    border: 2px solid var(--accent-color-2);
    box-shadow: 0 5px 15px rgba(128, 0, 32, 0.3);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: 5rem 5% 8rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a1a1a 50%, var(--secondary-color) 100%);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
    z-index: -1;
}

.services h2,
.section-title {
    text-align: center;
    margin-bottom: 4rem;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}

.services h2::after,
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-color-2));
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: linear-gradient(145deg, var(--secondary-color) 0%, #2a2a2a 100%);
    padding: 0;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 480px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-color-2));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
    margin-bottom: 0;
    transition: transform 0.4s ease;
    position: relative;
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

.service-card .service-image-wrapper {
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.service-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin: 2rem 0 1rem;
    transition: transform 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    padding: 0 2rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--accent-color);
    border-radius: 1px;
}

.service-card p {
    padding: 0 2rem 2rem;
    color: var(--text-color);
    opacity: 0.9;
    font-size: 1.1rem;
    line-height: 1.7;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(128, 0, 32, 0.4);
    border: 1px solid var(--accent-color-2);
    background: linear-gradient(145deg, #2a2a2a 0%, var(--secondary-color) 100%);
}

@media (min-width: 1024px) {
    .service-card { min-height: 520px; }
    .service-image { height: 320px; }
}

@media (max-width: 768px) {
    .services { padding: 3rem 5% 5rem; }
    .services h2 { margin-bottom: 2.5rem; font-size: clamp(2rem, 6vw, 3rem); }
    .services-grid { grid-template-columns: 1fr; gap: 2rem; max-width: 90vw; }
    .service-card { min-height: 420px; width: 100%; }
    .service-image { height: 240px; }
    .service-card h3 { font-size: 1.4rem; padding: 0 1.5rem; }
    .service-card p { padding: 0 1.5rem 1.5rem; font-size: 1rem; }
}

/* ============================================
   FEATURED PROJECTS
   ============================================ */
.featured-projects {
    padding: 5rem 5%;
    background-color: var(--secondary-color);
}

.featured-projects h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}

.featured-projects h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-color-2));
    border-radius: 2px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    padding: 2rem 0;
    position: relative;
    z-index: 1;
}

.view-more {
    display: block;
    text-align: center;
    margin-top: 2rem;
    color: var(--accent-color);
    text-decoration: none;
}

/* ============================================
   PROJECT CARDS
   ============================================ */
.project-card {
    background-color: var(--primary-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    opacity: 1;
    transform: scale(1);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-info {
    padding: 1.5rem;
    position: relative;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.project-info p {
    color: var(--text-color);
    opacity: 0.9;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-link {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--accent-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.project-link:hover {
    background-color: var(--accent-color-2);
    color: var(--text-color);
    transform: translateY(-2px);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background-color: var(--primary-color);
    padding: 3rem 5% 1rem;
}

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

.footer-section h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--text-color);
    opacity: 0.9;
    margin-bottom: 0.3rem;
}

.social-links a {
    color: var(--text-color);
    margin-right: 1rem;
    font-size: 1.5rem;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--secondary-color);
}

/* ============================================
   RESPONSIVE NAV
   ============================================ */
@media (max-width: 768px) {
    .nav-links,
    .nav-links ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        padding: 1.5rem;
        flex-direction: column;
    }

    .nav-links.active,
    .nav-links ul.active {
        display: flex;
    }

    .nav-links a,
    .nav-links ul li a {
        margin: 0.8rem 0;
        margin-left: 0;
        font-size: 1.4rem;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        height: calc(100vh - 180px);
        padding: 3rem 1rem;
    }

    .hero-content {
        padding: 2rem;
        margin: 0 auto;
    }

    .hero-content h1 { font-size: 2.5rem; }
    .hero-content h2 { font-size: 1.4rem; }
    .cta-button { padding: 1rem 2rem; }
}

@media (min-width: 1200px) {
    .hero {
        height: calc(70vh - 100px);
        max-height: 600px;
    }
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-section {
    padding: 5rem 5%;
    background-color: var(--primary-color);
    background-image: linear-gradient(45deg, rgba(128, 0, 32, 0.05) 25%, transparent 25%),
                      linear-gradient(-45deg, rgba(128, 0, 32, 0.05) 25%, transparent 25%),
                      linear-gradient(45deg, transparent 75%, rgba(128, 0, 32, 0.05) 75%),
                      linear-gradient(-45deg, transparent 75%, rgba(128, 0, 32, 0.05) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.contact-grid {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.contact-form-container h2 {
    color: var(--accent-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 1rem;
}

.contact-form-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

/* Contact Form 7 Styling */
.contact-form-container .wpcf7 {
    display: grid;
    gap: 1.5rem;
}

.contact-form-container .wpcf7 label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 500;
}

.contact-form-container .wpcf7 input[type="text"],
.contact-form-container .wpcf7 input[type="email"],
.contact-form-container .wpcf7 input[type="tel"],
.contact-form-container .wpcf7 textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form-container .wpcf7 textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form-container .wpcf7 input:focus,
.contact-form-container .wpcf7 textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
}

.contact-form-container .wpcf7 input::placeholder,
.contact-form-container .wpcf7 textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form-container .wpcf7 input[type="submit"] {
    background: linear-gradient(45deg, var(--accent-color), var(--accent-color-2));
    color: var(--text-color);
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.contact-form-container .wpcf7 input[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

@media (max-width: 768px) {
    .contact-form-container { padding: 2rem; }
    .contact-form-container h2 { font-size: 2rem; }
}

/* ============================================
   CONTACT HERO
   ============================================ */
.contact-hero {
    height: 25vh;
    min-height: 200px;
    background-color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 4rem;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(45deg, rgba(0,0,0,0.8), rgba(0,0,0,0.4));
    z-index: 1;
}

.contact-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.contact-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    background: linear-gradient(45deg, var(--text-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: fadeInUp 1s ease-out;
}

.contact-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.3s both;
}

@media (max-width: 768px) {
    .contact-hero { height: 20vh; min-height: 150px; }
    .contact-content h1 { font-size: 2.5rem; }
    .contact-content p { font-size: 1.1rem; }
}

/* ============================================
   PORTFOLIO PAGE
   ============================================ */
.portfolio-hero {
    height: 25vh;
    min-height: 200px;
    background-color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.portfolio-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(45deg, rgba(0,0,0,0.8), rgba(0,0,0,0.4));
    z-index: 1;
}

.portfolio-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.portfolio-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    background: linear-gradient(45deg, var(--text-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: fadeInUp 1s ease-out;
}

.portfolio-content p {
    font-size: 1.4rem;
    color: var(--accent-color);
    font-weight: 500;
    letter-spacing: 1px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.portfolio-grid {
    padding: 4rem 5%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 25%, #404040 50%, #2d2d2d 75%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.portfolio-grid::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(128, 0, 32, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

@media (max-width: 768px) {
    .portfolio-hero { height: 20vh; min-height: 150px; }
    .portfolio-content h1 { font-size: 2.5rem; }
    .portfolio-content p { font-size: 1.2rem; }
    .projects-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
    .portfolio-hero { height: 18vh; min-height: 120px; }
    .portfolio-content h1 { font-size: 2rem; }
    .portfolio-content p { font-size: 1rem; }
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-hero {
    height: 25vh;
    min-height: 200px;
    background-color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(45deg, rgba(0,0,0,0.8), rgba(0,0,0,0.4));
    z-index: 1;
}

.about-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.about-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    background: linear-gradient(45deg, var(--text-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: fadeInUp 1s ease-out;
}

.about-content p {
    font-size: 1.4rem;
    color: var(--accent-color);
    font-weight: 500;
    letter-spacing: 1px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.about-section {
    padding: 1rem 5% 3rem;
    background-color: var(--primary-color);
}

.about-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    text-align: center;
    color: var(--text-color);
    font-weight: 700;
    letter-spacing: 1px;
}

.about-section > .container > p,
.about-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    text-align: center;
}

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

.value-card {
    background-color: var(--secondary-color);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(45deg, rgba(128, 0, 32, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(128, 0, 32, 0.3);
    border: 1px solid var(--accent-color-2);
}

.value-card:hover::before { opacity: 1; }

.value-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.value-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 600;
    letter-spacing: 1px;
}

.value-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
    opacity: 0.9;
    margin: 0;
}

@media (max-width: 768px) {
    .about-hero { height: 20vh; min-height: 150px; }
    .about-content h1 { font-size: 2.5rem; }
    .about-content p { font-size: 1.2rem; }
    .about-section h2 { font-size: 2rem; }
    .value-card { padding: 2rem; }
}

/* ============================================
   MAP SECTION
   ============================================ */
.map-section {
    padding: 4rem 5%;
    background-color: var(--primary-color);
}

.map-section h2 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
}

.map-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.map-container:hover { transform: translateY(-5px); }

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
    display: block;
}

@media (max-width: 768px) {
    .map-section { padding: 2rem 5%; }
    .map-container iframe { height: 350px; }
}

/* ============================================
   PROJECT DETAIL (Single Project)
   ============================================ */
.project-hero {
    height: 60vh;
    min-height: 400px;
    position: relative;
    overflow: hidden;
    margin-bottom: 4rem;
}

.project-hero-image {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.project-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.8));
    z-index: 1;
}

.project-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.project-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    background: linear-gradient(45deg, var(--text-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: fadeInUp 1s ease-out;
}

.project-hero-content p {
    font-size: 1.4rem;
    color: var(--accent-color);
    font-weight: 500;
    letter-spacing: 1px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.project-details {
    padding: 4rem 5%;
    background-color: var(--primary-color);
}

.project-details .project-info {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.project-details .project-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: 700;
    letter-spacing: 1px;
}

.project-details .project-info p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
    opacity: 0.9;
}

/* ============================================
   CAROUSEL
   ============================================ */
.project-carousel {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    height: 600px;
    flex-shrink: 0;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: var(--text-color);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-button:hover {
    background: var(--accent-color-2);
    color: var(--primary-color);
}

.carousel-button.prev { left: 20px; }
.carousel-button.next { right: 20px; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--secondary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--accent-color-2);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .project-hero { height: 40vh; min-height: 300px; }
    .project-hero-content h1 { font-size: 2.5rem; }
    .project-hero-content p { font-size: 1.2rem; }
    .project-details .project-info h2 { font-size: 2rem; }
    .carousel-slide { height: 400px; }
    .carousel-button { width: 40px; height: 40px; }
}

/* ============================================
   THANK YOU PAGE
   ============================================ */
.thank-you-section {
    padding: 100px 0;
    text-align: center;
    background-color: #f9f9f9;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.thank-you-content h1 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 2.5em;
}

.thank-you-content p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.2em;
    line-height: 1.6;
}

/* ============================================
   RECAPTCHA
   ============================================ */
.g-recaptcha {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

/* ============================================
   WORDPRESS ADMIN BAR FIX
   ============================================ */
body.admin-bar .navbar {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .navbar {
        top: 46px;
    }
}
