/* ===================================
   HEADER & NAVIGATION
   ================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #bcc4dc;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.nav-container {
    max-width: 100vw;
    margin: 20px 5px;
    padding: 0 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.logo {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: contain;
}

.logo {
    transform: scale(1.7);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #8B0000;
    line-height: 1;
}

.logo-text {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 700;
    color: #8B0000;
    line-height: 1.2;
    margin-top: -5px;
    text-align: center;
}

.brand-location {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2aa79b;
    letter-spacing: 2px;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    margin: 0;
    padding: 0;

}

.nav-link {
    text-decoration: none;
    color: #333333;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.nav-link:hover,
.nav-link.active {
    color: #2aa79b;
    transform: translateY(-2px);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #2aa79b;
    border-radius: 2px;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 250px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    padding: 1rem 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #333333;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
}

.dropdown-menu a:hover {
    background: rgba(42, 167, 155, 0.1);
    color: #2aa79b;
    transform: translateX(5px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333333;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ===================================
   FOOTER
   ================================== */
.footer {
    background: #ffffff;
    color: #333333;
    border-top: 1px solid #dddddd;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1.5fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #8B0000;
    margin-bottom: 1.5rem;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 1.2rem;
}

.social-section .social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: #2aa79b;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.2rem;
}

.social-link:hover {
    background: #8B0000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: #333333;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.8;
}

.footer-links a:hover {
    color: #2aa79b;
    opacity: 1;
    transform: translateX(3px);
}

.contact-form {
    background: rgba(42, 167, 155, 0.05);
    padding: 0.7rem;
    border-radius: 12px;
    border: 1px solid rgba(42, 167, 155, 0.1);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2aa79b;
    box-shadow: 0 0 0 3px rgba(42, 167, 155, 0.1);
}

.submit-btn {
    background: linear-gradient(135deg, #2aa79b, #1e8a7e);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 167, 155, 0.3);
}

.footer-bottom {
    border-top: 1px solid #dddddd;
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: #333333;
    text-decoration: none;
    opacity: 0.7;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-bottom-links a:hover {
    color: #2aa79b;
    opacity: 1;
}

@media (max-width: 1024px) {
    .navbar {
        padding: 0.5rem 15px;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
    }
    
    .logo {
        width: 55px;
        height: 55px;
    }
    
    .brand-name {
        font-size: 1.4rem;
    }
    
    .logo-text {
        font-size: 0.9rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 10px;
    }
    
    .logo {
        width: 50px;
        height: 50px;
    }
    
    .brand-name {
        font-size: 1.2rem;
    }
    
    .logo-text {
        font-size: 0.8rem;
    }

    .nav-links {
        position: fixed;
        top: 85px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 85px);
        background: #bcc4dc;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 2rem 1rem;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        gap: 0;
        overflow-y: auto;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        margin-bottom: 0.5rem;
    }
    
    .nav-link {
        padding: 1rem;
        width: 100%;
        justify-content: center;
        font-size: 1rem;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        transform: none;
        box-shadow: none;
        background: rgba(255,255,255,0.1);
        margin-top: 0;
        border-radius: 0;
        min-width: auto;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    .dropdown-menu a {
        padding: 0.75rem 2rem;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    .dropdown.active .dropdown-menu,
    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 300px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .header {
        padding: 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom p {
        font-size: 0.76rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.5rem 8px;
    }
    
    .nav-brand {
        gap: 8px;
    }
    
    .logo {
        width: 45px;
        height: 45px;
    }
    
    .brand-name {
        font-size: 1rem;
    }
    
    .logo-text {
        font-size: 0.7rem;
        margin-top: 1px;
    }
    
    .nav-links {
        top: 75px;
        height: calc(100vh - 75px);
        padding: 1.5rem 0.5rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 0.8rem;
    }
    
    .dropdown-menu a {
        padding: 0.6rem 1.5rem;
        font-size: 0.85rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}
