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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #171717;
    background-color: #ffffff;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(50px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15), 0 4px 10px rgba(0, 0, 0, 0.12);
}

.navbar-logo {
    height: 5.5rem;
    flex-shrink: 0;
    margin-left: 48px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 0.35rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 51;
}

.hamburger span {
    width: 1.8rem;
    height: 0.22rem;
    background-color: #68838c;
    border-radius: 0.1rem;
    transition: all 0.3s ease;
    transform-origin: center;
    backface-visibility: hidden;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(0.6rem, 0.6rem);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(0.5rem, -0.5rem);
}

.navbar-links {
    display: flex;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    align-items: center;
}

.navbar-links a {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    color: #68838c;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.navbar-links a:hover {
    text-shadow: 0 0 10px rgba(104, 131, 140, 0.7);
}

.navbar-links a:active {
    transform: scale(0.95);
}

/* Mobile and Tablet */
@media (max-width: 1024px) {
    .navbar {
        padding: 0.5rem 1rem;
        justify-content: center;
    }
    
    .navbar-logo {
        margin-left: 0;
        margin-right: 0;
    }
    
    .hamburger {
        display: flex;
        position: absolute;
        right: 1rem;
    }
    
    .navbar-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.95);
        border-bottom: 1px solid rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(50px);
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .navbar-links.active {
        max-height: 400px;
    }
    
    .navbar-links a {
        padding: 1.2rem 1rem;
        border-bottom: 1px solid rgba(104, 131, 140, 0.2);
        width: 100%;
        text-align: center;
        font-size: 1.1rem;
    }
    
    .navbar-links a:last-child {
        border-bottom: none;
    }
}

/* Desktop */
@media (min-width: 1025px) {
    .navbar {
        padding: 0.5rem 2rem;
        justify-content: flex-start;
    }
    
    .navbar-logo {
        height: 5.5rem;
        margin-right: auto;
    }
    
    .navbar-links {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        gap: 0;
        font-size: 1.125rem;
    }
    
    .navbar-links a {
        padding: 0.5rem 0.75rem;
    }
}

/* Scrollable sections - account for fixed navbar */
#home, #services, #about, #location, #contact {
    scroll-margin-top: 4rem;
}

@media (max-width: 1024px) {
    #home, #services, #about, #location, #contact {
        scroll-margin-top: 3.5rem;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    background-position: center;
    background-size: cover;
    background-attachment: scroll;
    margin-top: 0;
    will-change: background-image;
    background-attachment: fixed;
}

@media (prefers-reduced-motion: reduce) {
    .hero {
        background-attachment: scroll;
    }
}

@media (min-width: 769px) {
    .hero {
        margin-top: 0;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
    animation: fadeIn 0.6s ease-in;
}

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

.hero-content {
    position: relative;
    z-index: 10;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    font-family: Georgia, Garamond, serif;
    white-space: nowrap;
}

.hero p {
    font-size: 1.5rem;
    color: white;
    max-width: 42rem;
    margin: 0 auto 2rem auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.hero-subheading {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem !important;
    font-weight: 400;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .hero {
        padding: 1rem;
        margin-top: 0;
    }
    
    .hero h1 {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }
    
    .hero p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-subheading {
        font-size: 1rem;
        margin-bottom: 1rem !important;
        max-width: 90%;
    }
}

/* Button Styles */
.btn {
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: #7e529e;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: rgba(126, 82, 158, 0.8);
    box-shadow: 0 0 10px rgba(126, 82, 158, 0.6);
}

.btn-primary:active {
    background-color: rgba(126, 82, 158, 0.6);
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .btn {
        padding: 0.5rem 1.5rem;
        font-size: 0.875rem;
    }
}

/* Services Section */
.services {
    padding: 3rem 1rem;
    background-color: #ffffff;
}

.services h2 {
    font-size: 2.25rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 4rem;
    color: #68838c;
    font-family: Georgia, Garamond, serif;
}

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

.service-card {
    padding: 2rem;
    background-color: #f3f4f6;
    border-radius: 1rem;
    box-shadow: 0 0 20px rgba(126, 82, 158, 0.4);
    transition: all 0.2s ease;
}

.service-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #68838c;
}

.service-card p {
    color: #000000;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .services {
        padding: 2rem 1rem;
    }
    
    .services h2 {
        font-size: 1.875rem;
        margin-bottom: 3rem;
    }
    
    .services-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
        width: 100%;
        max-width: 500px;
    }
    
    .service-card h3 {
        font-size: 1.25rem;
    }
}

/* About Section */
.about-section {
    background-color: transparent;
    padding: 0;
    background-position: center;
    background-size: 150%;
    background-attachment: fixed;
    min-height: 24rem;
    will-change: background-image;
}

.about-header {
    min-height: 24rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    background-position: center bottom;
    background-size: cover;
    background-attachment: fixed;
}

.about-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.about-header h2 {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    font-family: Georgia, Garamond, serif;
    position: relative;
    z-index: 10;
}

.about-content {
    width: 100%;
    margin: 0 auto;
    padding: 3rem 3rem;
    background-color: #ffffff;
    max-width: 1200px;
    border-radius: 1rem;
    margin-top: 2rem;
    margin-bottom: 4rem;
    background-image: url('public/Background%20-%20White.jpg');
    background-size: cover;
    background-position: center;
}

.about-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #000000;
    margin-bottom: 1.5rem;
    font-family: Georgia, Garamond, serif;
}

@media (max-width: 768px) {
    .about-content {
        padding: 2rem 1rem;
    }
    
    .about h2 {
        font-size: 1.875rem;
        margin-bottom: 1.25rem;
    }
    
    .about p {
        font-size: 0.95rem;
    }
}

/* Background Divider Section */
.background-divider {
    min-height: 20rem;
    background-position: center;
    background-size: 150%;
    background-attachment: fixed;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.description-card {
    width: 100%;
    max-width: 1400px;
    padding: 4rem 6rem;
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(126, 82, 158, 0.5);
}

.description-card p {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #000000;
    font-family: Georgia, Garamond, serif;
}

@media (max-width: 768px) {
    .description-card {
        padding: 2rem 1rem;
    }
}

/* Location Section */
.location-section {
    background-color: #ffffff;
    padding: 0;
}

.location-header {
    min-height: 24rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    will-change: background-image;
}

.location-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
    animation: fadeIn 0.6s ease-in;
}

.location-header h2 {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    font-family: Georgia, Garamond, serif;
    position: relative;
    z-index: 10;
}

.location-content {
    max-width: 64rem;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.location-map {
    width: 100%;
    height: 20rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    margin: 1.5rem 0;
    border: none;
}

.location-info {
    text-align: center;
}

.location-address {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #68838c;
}

.location-city {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: #000000;
}

@media (max-width: 768px) {
    .location-header {
        min-height: 10rem;
        padding: 1.5rem;
    }
    
    .location-header h2 {
        font-size: 1.875rem;
    }
    
    .location-content {
        padding: 2rem 1rem;
    }
    
    .location-map {
        height: 24rem;
    }
}

/* Contact Section */
.contact-section {
    background-color: #f9f9f9;
    padding: 0;
}

.contact-header {
    min-height: 24rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    background-position: 35% 88%;
    background-size: 110%;
    background-attachment: fixed;
    will-change: background-image;
}

.contact-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
    animation: fadeIn 0.6s ease-in;
}

.contact-header h2 {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    font-family: Georgia, Garamond, serif;
    position: relative;
    z-index: 10;
}

.contact-info {
    padding: 3rem 1rem;
    max-width: 48rem;
    margin: 0 auto;
}

.contact-card {
    margin-bottom: 2rem;
    text-align: center;
}

.contact-icon {
    width: 1.25rem;
    height: 1.25rem;
    display: inline-block;
    margin-right: 0.5rem;
    color: #000000;
}

.contact-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 0.5rem;
}

.contact-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: #7e529e;
    text-decoration: none;
    display: block;
    word-break: break-all;
    transition: opacity 0.2s ease;
}

.contact-value:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .contact-header {
        min-height: 16rem;
        padding: 1.5rem;
    }
    
    .contact-header h2 {
        font-size: 2rem;
    }
    
    .contact-info {
        padding: 2rem 1rem;
    }
    
    .contact-card {
        margin-bottom: 1.5rem;
    }
}

/* Footer */
.footer {
    background-color: #68838c;
    color: white;
    text-align: center;
    padding: 1.5rem;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .footer {
        padding: 1rem;
        font-size: 0.875rem;
    }
}
