/* Import Lato font */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');

/* CSS Variables for color palette */
:root {
    --primary-green: #C6B827;
    --primary-orange: #F87D08;
    --secondary-green: #8DBA30;
    --dark-green: #617B47;
    --light-green: #ABBA6A;
    
    /* Balanced light/dark theme colors */
    --bg-primary: #f5f5f0;
    --bg-secondary: #e8e8e0;
    --text-primary: #2c2c2c;
    --text-secondary: #4a4a4a;
    --accent: var(--primary-orange);
    --border-color: #d0d0c8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

a {
    color: var(--accent);
    text-decoration: none;
}

/* Header Styles */
header {
    background-color: var(--bg-secondary);
    border-bottom: 2px solid var(--border-color);
    padding: 1rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.logo {
    flex: 1;
}

.logo a {
    display: inline-block;
    color: var(--accent);
}

.logo-img {
    height: 60px;
    width: auto;
    margin: -10px 0;
    transition: opacity 0.3s ease;
}

.logo a:hover .logo-img {
    opacity: 0.8;
}

.pulse-nav {
    margin-right: 1rem;
}

.pulse-link {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
}

/* Hamburger Menu */
.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

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

.hamburger:hover span {
    background-color: var(--accent);
}

/* Navigation Dropdown */
.nav-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: none;
    min-width: 150px;
    z-index: 1000;
}

.nav-dropdown.active {
    display: block;
}

.nav-dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-dropdown li {
    padding: 0;
}

.nav-dropdown-sep {
    height: 1px;
    margin: 0.5rem 0;
    background: var(--border-color);
    list-style: none;
}

.nav-dropdown a {
    display: block;
    padding: 12px 20px;
    color: var(--text-secondary);
    font-weight: 400;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-dropdown a:hover {
    background-color: var(--bg-primary);
    color: var(--accent);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

/* Hero Section */
section#home {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-radius: 0;
    box-shadow: none;
    margin: 0 0 3rem 0;
    padding: 0;
    width: 100%;
}

h2 {
    color: var(--dark-green);
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Footer */
footer {
    background-color: var(--bg-secondary);
    text-align: center;
    padding: 2rem;
    border-top: 2px solid var(--border-color);
    color: var(--text-secondary);
}

/* Back to Top FAB */
.fab-back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--accent);
    color: white;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    z-index: 1000;
}

.fab-back-to-top.visible {
    display: flex;
}

.fab-back-to-top:hover {
    background-color: #e67300;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.fab-back-to-top:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: row;
        justify-content: space-between;
    }
}



    overflow-y: visible; 


/* Each image takes full width of container */


/* Navigation arrows */








/* Indicator */


/* Thumbnails container - visible at bottom */








/* Modal content */
.modal-content {
    background-color: var(--bg-secondary);
    border-radius: 12px;
    max-width: 90%;
    max-height: 90vh;
    min-width: 600px;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
}

/* Image modal */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.image-modal.active {
    display: flex;
}

/* Responsive */
@media (max-width: 768px) {
    
    
    
    
    
    
    .modal-content {
        max-width: 95%;
        min-width: 0;
    }
    
    
}



/* Hero Section */
.hero {
    position: relative;
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(232, 232, 224, 0.8) 0%, rgba(245, 245, 240, 0.8) 100%), url('../assets/07.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent 10%, var(--accent) 50%, transparent 90%);
    opacity: 0.7;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--dark-green);
    font-weight: 700;
    line-height: 1.1;
}

.hero p {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.4;
}

.cta-button {
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.cta-button:hover {
    background-color: #e67300;
    transform: translateY(-2px);
}

/* About & Services Grid */
.about-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0;
}

@media (max-width: 768px) {
    .about-services-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    /* About Section Mobile - Fix heading overlap */
    .about-services-grid section#about {
        padding-top: 2rem !important;
    }
    
    .about-services-grid section#about h2 {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        margin-bottom: 1.5rem !important;
        margin-top: 0 !important;
        margin-top: 0 !important;
        text-align: center !important;
    }
    
    .about-services-grid section#about p {
        margin-top: 0 !important;
        padding-top: 0 !important;
        margin-bottom: 0 !important;
        line-height: 1.6 !important;
        position: relative !important;
        z-index: 1 !important;
    }
}

/* About Section */
.about-services-grid section#about {
    margin: 0;
    padding: 2rem;
    background-color: var(--bg-secondary);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    position: relative;
    overflow: hidden;
}

.about-services-grid section#about::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-30deg);
    width: 150%;
    height: 150%;
    background-image: url('../assets/favicon.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    opacity: 0.06;
    pointer-events: none;
}

.about-services-grid section#about h2 {
    color: var(--dark-green);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0;
    margin-top: 0;
    text-align: left;
    position: absolute;
    top: 2rem;
    left: 2rem;
    width: calc(100% - 4rem);
}

.about-services-grid section#about p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 2.2;
    margin-top: 0;
    margin-bottom: 0;
    text-align: center;
    max-width: 75%;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Services Section */
section#services {
    margin: 0 !important;
    padding: 2rem !important;
    background-color: var(--bg-secondary) !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
    border: 1px solid var(--border-color) !important;
}

/* Contact Section */
/* Mission Section */
.mission-section {
    padding: 0;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.mission-content {
    margin: 0;
    text-align: center;
    background-color: var(--bg-secondary);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
    padding: 2rem;
    width: 100%;
    box-sizing: border-box;
}

.mission-section h2 {
    font-size: 2.5rem;
    color: var(--primary-orange);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.mission-section h3 {
    font-size: 2rem;
    color: var(--dark-green);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.mission-statement {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 900px;
    margin: 0 auto 2rem;
    font-weight: 400;
}

.mission-features {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 2rem auto 0;
    text-align: left;
    display: inline-block;
}

.mission-features li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.mission-features li::before {
    content: "•";
    color: var(--primary-orange);
    font-size: 1.1rem;
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
    line-height: 1.8;
}

.mission-features li strong {
    color: var(--dark-green);
    font-weight: 700;
}

/* Responsive Mission Section */
@media (max-width: 768px) {
    .mission-section {
        padding: 0 1rem;
    }
    section#contact {
        padding: 0 1rem;
        margin-bottom: 2rem;
    
    width: 100%;
    box-sizing: border-box;
}

    
    .mission-content {
        padding: 2rem 1.5rem;
    }
    
    .mission-section h2 {
        font-size: 2rem;
    }
    
    .mission-section h3 {
        font-size: 1.75rem;
    }
    
    .mission-statement {
        font-size: 1.1rem;
    }
    
    .mission-features {
        text-align: left;
    }
    
    .mission-features li {
        font-size: 1rem;
    }
    
}

section#contact {
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 2rem;
    background-color: var(--bg-secondary);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
    width: 100%;
    box-sizing: border-box;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-person {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background-color: var(--bg-primary);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
    overflow: hidden;
}

.contact-person::after {
    content: '';
    position: absolute;
    bottom: 1rem;
    left: 0;
    width: 55%;
    height: 100%;
    background-image: url('../assets/favicon.png');
    background-repeat: no-repeat;
    background-position: bottom left;
    background-size: 75%;
    opacity: 0.06;
    pointer-events: none;
}



.contact-info {
    position: relative;
    z-index: 1;
}

.contact-title {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0.5rem 0;
    font-weight: 500;
}

.contact-photo {
    position: relative;
    z-index: 1;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--accent);
    object-position: center top;
}

.contact-info h3 {
    color: var(--dark-green);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-email a,
.contact-phone a {
    color: var(--text-secondary);
    margin: 0.25rem 0;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.contact-email a:hover,
.contact-phone a:hover {
    color: var(--accent);
}

.contact-email {
    font-weight: 400;
}

.contact-phone {
    font-weight: 300;
}

.contact-location-card {
    margin-top: 2rem;
    padding: 1.5rem 2rem;
    background-color: var(--bg-primary);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.contact-location-card h3 {
    color: var(--dark-green);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-location-card p {
    color: var(--text-secondary);
    margin: 0.25rem 0;
    font-size: 0.95rem;
}

.contact-address {
    font-weight: 500;
}

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

.contact-address a:hover {
    color: var(--accent);
}

/* Showcase Section */
section#showcase {
    max-width: 1200px !important;
    margin: 0 auto 3rem !important;
    padding: 2rem !important;
    background-color: var(--bg-secondary) !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
    border: 1px solid var(--border-color) !important;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.project-card {
    background-color: var(--bg-primary);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
    cursor: pointer;
}

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

.project-card-thumbnail {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.project-card-info {
    padding: 1.5rem;
}

.project-card-title {
    color: var(--dark-green);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.project-card-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    main {
        padding: 1rem;
    }
    
    section {
        padding: 1rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-card-thumbnail {
        height: 200px;
    }
}

/* Business License Styles */
.license-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    padding: 1rem;
}

.license-seal-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    line-height: 1;
}

.license-seal-wrapper p {
    margin: 0;
    padding: 0;
}

.license-seal {
    max-width: 200px;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.license-seal:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.license-number {
    color: var(--dark-green);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    padding: 0;
    text-align: center;
    line-height: 1;
}

.license-click-text {
    color: var(--text-secondary);
    font-size: 0.7rem;
    font-weight: 400;
    font-style: italic;
    margin: 0;
    padding: 0;
    margin-top: 0;
    text-align: center;
    line-height: 1;
}

/* Business License Modal */
.license-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.license-modal.active {
    display: flex;
}

.license-modal-content {
    position: relative;
    max-width: 80%;
    max-height: 85%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-secondary);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    padding: 2rem;
    border: 2px solid var(--border-color);
}

.license-modal-image {
    max-width: 100%;
    max-height: 80vh;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    display: block;
}

.license-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--accent);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.license-modal-close:hover {
    background-color: #e67300;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .license-seal {
        max-width: 150px;
    }
    
    .license-modal-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 35px;
        height: 35px;
    }
    
    .license-modal-content {
        padding: 1rem;
        max-width: 95%;
    }
}


/* Contact Person Modals */
.person-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1500;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-sizing: border-box;
}

.person-modal.active {
    display: flex;
}

.person-modal-content {
    background-color: var(--bg-secondary);
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    box-sizing: border-box;
}

.person-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-orange);
    color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.person-modal-close:hover {
    background: var(--dark-green);
}

.person-modal-close svg {
    width: 20px;
    height: 20px;
    stroke: white;
}

.person-modal-body {
    padding: 3rem 2.5rem 2rem;
    text-align: center;
}

.person-modal-body h2 {
    color: var(--dark-green);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.person-modal-title {
    color: var(--primary-orange);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.person-modal-description {
    color: var(--text-primary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}

.contact-photo {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.contact-photo:hover {
    transform: scale(1.1);
}

.contact-name-clickable {
    cursor: pointer;
    transition: color 0.2s ease;
}

.contact-name-clickable:hover {
    color: var(--primary-orange);
}

/* Responsive Person Modals */
@media (max-width: 768px) {
    .person-modal {
        padding: 1rem;
    }
    
    .person-modal-content {
        max-width: 100%;
    }
    
    .person-modal-body {
        padding: 2.5rem 1.5rem 1.5rem;
        text-align: center;
    }
    
    .person-modal-body h2 {
        font-size: 1.5rem;
    }
    
    .person-modal-title {
        font-size: 1rem;
    }
    
    .person-modal-description {
        font-size: 1rem;
    }
}
