/* Media Queries for Responsive Design */
@media (min-width: 768px) {
    .hero-section {
        grid-template-columns: 1fr 1fr;
    }
}

.content {
    margin-left: 2.5rem;
    margin-right: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Top Bar */
.top-bar {
    background-color: #58755F;
    color: white;
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1000; /* ensure it stays above nav */
}

.social-icons {
    display: flex;
    gap: 0.5rem;
}

.icon-link {
    opacity: 0.8;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
}

.icon-link:hover {
    opacity: 1;
}

.icon-link i {
    font-size: 0.875rem;
    margin-right: 0.25rem;
}

.contact-info {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-right: 2.5rem;
}

.contact-link {
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.contact-link:hover {
    opacity: 1;
}

.contact-link i {
    margin-right: 0.25rem;
}

.send-message-btn {
    background-color: #E5D17B;
    color: #58755F;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: background-color 0.3s;
}

.send-message-btn:hover {
    background-color: rgba(229, 209, 123, 0.9);
}

.mobile-contact-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.25rem;
}

/* Navigation */
.main-nav {
    background-color: white;
    border-bottom: 1px solid #f3f4f6;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 999; /* ensures it appears above other sections */
}

.logo h1 {
    color: #58755F;
    font-weight: 700;
    font-size: 1.125rem;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    margin-right: 2.5rem;
}

.nav-links a {
    color: #58755F;
    font-family: 'Gilda Display', serif;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    font-weight: bold;
    color: #E5D17B;
    border-bottom:2px solid #E5D17B;
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #58755F;
}

.top-bar,
.main-nav {
    position: relative;
}

/* Mobile Responsiveness */
@media (max-width: 767px) {
    /* Top Bar Mobile */
    .contact-info {
        position: absolute;
        flex-direction: column;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #58755F;
        padding: 1rem;
        gap: 0.75rem;
        z-index: 100;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .contact-info.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .mobile-contact-toggle {
        display: block;
    }

    /* Navigation Mobile */
    .logo h1 {
        font-size: 1rem;
        line-height: 1.3;
        
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        z-index: 999;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1; 
        
        visibility: visible;
        border-bottom:2px opacity 50% solid #E5D17B;
    }

    .mobile-menu-toggle {
        display: block;
    }
}
@media (max-width: 767px) {
    .top-bar,
    .main-nav {
        padding-left: 0;
        padding-right: 2;
    }

    .content {
        margin-left: 0;
        margin-right:0 ;
        padding-left: 1rem;
        padding-right: 2rem;
    }
}
