/* ===================================
   GENTLE GIANT PROPERTY SOLUTIONS
   Multi-Page Responsive Stylesheet
   =================================== */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

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

.container-small {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */
#header {
    background: #000;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    height: 80px;
    width: auto;
}

.nav-desktop {
    display: flex;
    gap: 2rem;
}

.nav-desktop a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.nav-desktop a:hover,
.nav-desktop a.active {
    color: #ccc;
    background: rgba(255,255,255,0.1);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-mobile {
    display: none;
    background: #000;
    padding: 1rem;
    border-top: 1px solid #333;
}

.nav-mobile a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 1rem;
    margin: 0.5rem 0;
    border-radius: 4px;
    transition: background 0.3s;
}

.nav-mobile a:hover,
.nav-mobile a.active {
    background: #333;
}

/* ===================================
   HERO SECTION (Home Page)
   =================================== */
.hero {
    background: #000;
    color: #fff;
    padding: 5rem 1rem;
    text-align: center;
    border-bottom: 4px solid #fff;
}

.hero-logo img {
    height: 200px;
    width: auto;
    max-width: 90%;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.hero-services {
    font-size: 1.25rem;
    color: #ccc;
    margin-bottom: 2rem;
}

.hero-phone {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 2rem;
}

/* ===================================
   PAGE HEADER (Sub Pages)
   =================================== */
.page-header {
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: #fff;
    padding: 4rem 1rem 3rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    color: #ccc;
}

/* ===================================
   BUTTONS
   =================================== */
.btn-primary {
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.125rem;
    transition: all 0.3s;
}

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

.btn-secondary {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.125rem;
    transition: all 0.3s;
    border: 2px solid #000;
}

.btn-secondary:hover {
    background: #333;
    transform: translateY(-2px);
}

.btn-primary-large {
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 1.25rem 2.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.25rem;
    transition: all 0.3s;
}

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

.btn-secondary-large {
    display: inline-block;
    background: transparent;
    color: #fff;
    padding: 1.25rem 2.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.25rem;
    border: 2px solid #fff;
    transition: all 0.3s;
}

.btn-secondary-large:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* ===================================
   HOME PAGE - WELCOME SECTION
   =================================== */
.welcome-section {
    padding: 4rem 1rem;
    background: #fff;
}

.welcome-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.welcome-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #000;
}

.welcome-content .lead {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #333;
}

.welcome-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #666;
}

/* ===================================
   HOME PAGE - SERVICES PREVIEW
   =================================== */
.services-preview {
    padding: 4rem 1rem;
    background: #f5f5f5;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 4px solid #000;
    display: inline-block;
    width: auto;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 3rem;
}

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

.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s;
    text-align: center;
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #000;
}

.service-card p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.service-link {
    color: #000;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
}

.service-link:hover {
    color: #666;
}

.cta-center {
    text-align: center;
    margin-top: 2rem;
}

/* ===================================
   HOME PAGE - PROJECTS PREVIEW
   =================================== */
.projects-preview {
    padding: 4rem 1rem;
    background: #fff;
    text-align: center;
}

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

.project-preview-card {
    position: relative;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

.project-preview-card:hover {
    transform: scale(1.05);
}

.project-preview-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-preview-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 2rem 1rem 1rem;
    color: #fff;
}

.project-preview-overlay h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.badge {
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: bold;
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
    background: #000;
    color: #fff;
    padding: 4rem 1rem;
    text-align: center;
}

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

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #ccc;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   SERVICES PAGE - SERVICE DETAILS
   =================================== */
.services-detail {
    padding: 4rem 1rem;
    background: #fff;
}

.service-detail {
    margin-bottom: 4rem;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #000;
}

.service-detail-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #000;
}

.service-detail-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.8;
}

.service-detail-content ul {
    list-style: none;
    padding-left: 0;
}

.service-detail-content li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    font-size: 1.05rem;
    color: #333;
}

.service-detail-content li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #000;
    font-weight: bold;
}

/* ===================================
   PORTFOLIO PAGE
   =================================== */
.portfolio-section {
    padding: 4rem 1rem;
    background: #f5f5f5;
}

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

.project-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s;
    cursor: pointer;
}

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

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

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

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

.project-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #000;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: bold;
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #000;
}

.project-info p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #000;
    font-weight: bold;
    text-decoration: none;
    border: 2px solid #000;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s;
}

.project-btn:hover {
    background: #000;
    color: #fff;
}

/* ===================================
   ABOUT PAGE
   =================================== */
.about-content {
    padding: 4rem 1rem;
    background: #fff;
}

.about-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.about-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #000;
}

.lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: #333;
    line-height: 1.8;
}

.about-section {
    margin-bottom: 4rem;
}

.about-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #000;
    border-bottom: 3px solid #000;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1.5rem;
}

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

.why-item {
    background: #f5f5f5;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #000;
}

.why-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #000;
}

.why-item p {
    color: #666;
    font-size: 1rem;
}

.values-list {
    list-style: none;
    padding-left: 0;
}

.values-list li {
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: #f9f9f9;
    border-radius: 4px;
    font-size: 1.05rem;
    color: #333;
}

.service-areas {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding-left: 0;
    margin-top: 1.5rem;
}

.service-areas li {
    background: #f5f5f5;
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
    font-weight: 500;
}

/* ===================================
   CONTACT PAGE
   =================================== */
.contact-info-section {
    padding: 3rem 1rem;
    background: #fff;
}

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

.contact-info-card {
    background: #f5f5f5;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    border-top: 4px solid #000;
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #000;
}

.contact-info-card p {
    color: #666;
    margin-bottom: 0.5rem;
}

.contact-info-card a {
    color: #000;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
}

.contact-info-card a:hover {
    text-decoration: underline;
}

.contact-note {
    font-size: 0.9rem;
    color: #999 !important;
    font-style: italic;
}

.contact-form-section {
    padding: 4rem 1rem;
    background: #f5f5f5;
}

.form-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.form-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #000;
}

.form-intro p {
    font-size: 1.25rem;
    color: #666;
}

.contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #333;
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.1);
}

.privacy-notice {
    background: #e0e0e0;
    border: 2px solid #000;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.privacy-notice p {
    font-size: 0.875rem;
    color: #333;
    line-height: 1.5;
}

.btn-submit {
    width: 100%;
    background: #000;
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: #333;
    transform: translateY(-2px);
}

.success-message {
    background: #e8f5e9;
    border: 2px solid #4caf50;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: #4caf50;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
}

.success-message h3 {
    color: #2e7d32;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.success-message p {
    color: #388e3c;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: #000;
    color: #fff;
    padding: 3rem 1rem;
    border-top: 4px solid #fff;
}

.footer-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 120px;
    width: auto;
    max-width: 90%;
}

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

.footer-col h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-contact p {
    margin: 0.5rem 0;
    color: #ccc;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

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

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

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

.licensed-badge {
    font-size: 0.875rem;
    font-weight: bold;
    margin-top: 1rem;
    color: #fff;
}

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

/* ===================================
   MODAL
   =================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow-y: auto;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #fff;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 8px;
    position: relative;
    margin: auto;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 10;
    transition: background 0.3s;
}

.modal-close:hover {
    background: #f0f0f0;
}

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

.modal-body {
    padding: 2rem;
}

.modal-category {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.modal-body h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #000;
}

.modal-body p {
    color: #666;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.before-after {
    margin: 2rem 0;
}

.before-after h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #000;
}

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

.before-after-item p {
    font-size: 0.875rem;
    font-weight: bold;
    color: #666;
    margin-bottom: 0.5rem;
}

.before-after-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.project-details-box {
    background: #f5f5f5;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.project-details-box h3 {
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #000;
}

.modal-cta {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s;
}

.modal-cta:hover {
    background: #333;
    transform: translateY(-2px);
}

/* ===================================
   RESPONSIVE DESIGN - MOBILE
   =================================== */
@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .logo {
        height: 60px;
    }
    
    .hero {
        padding: 3rem 1rem;
    }
    
    .hero-logo img {
        height: 150px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-services {
        font-size: 1rem;
    }
    
    .hero-phone {
        font-size: 1.5rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo img {
        height: 100px;
    }
    
    .modal-image {
        height: 250px;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-body h2 {
        font-size: 1.5rem;
    }
    
    .before-after-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-primary-large,
    .btn-secondary-large {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container,
    .container-small {
        padding: 0 0.75rem;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero-logo img {
        height: 120px;
    }
    
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .project-image {
        height: 200px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
}

/* Spanish and Additional Phone Styles */
.spanish-notice {
    color: #ffeb3b;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 1rem 0 0.5rem 0;
}

.additional-phones {
    font-size: 1rem;
    margin-top: 0.5rem;
}

.additional-phones a {
    color: inherit;
    text-decoration: none;
}

.additional-phones a:hover {
    text-decoration: underline;
}

.spanish-footer {
    color: #ffeb3b;
    font-weight: bold;
    margin: 0.5rem 0;
}

.footer-contact a {
    color: inherit;
    text-decoration: none;
}

.footer-contact a:hover {
    color: #ffeb3b;
}
.spanish-highlight {
    color: #2c5f2d;
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-info-card a {
    color: inherit;
    text-decoration: none;
    display: block;
    margin: 0.3rem 0;
}

.contact-info-card a:hover {
    color: #2c5f2d;
    text-decoration: underline;
}