@font-face {
    font-family: 'Helvetica Neue';
    src: url('fonts/HelveticaNeue-Heavy.woff2') format('woff2'),
         url('fonts/HelveticaNeue-Heavy.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('fonts/HelveticaNeue-Medium.woff2') format('woff2'),
         url('fonts/HelveticaNeue-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Basic Styles */
body {
    margin: 0;
    font-family: 'Helvetica Neue', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #fff;
    color: #000;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #000;
    color: #fff;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    flex-wrap: wrap;
}

.logo {
    width: 100px;
    cursor: pointer;
}

.buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    background-color: #fff;
    color: #000;
    border: 1px solid #000;
    border-radius: 20px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

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

/* Content Styles */
.container {
    text-align: center;
    padding: 20px;
    flex-grow: 1;
}

.photo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.photo-grid img {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

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

/* Big Contact Us Button Styles */
.btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 18px;
    color: white;
    background-color: blue;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.btn:hover {
    background-color: darkblue;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

/* Footer Styles */
footer {
    background-color: #f0f0f0;
    padding: 10px;
    text-align: left;
    box-shadow: 0px -3px 6px rgba(0, 0, 0, 0.2);
    width: 100%;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: 960px;
    margin: 0 auto;
}

.logo img {
    height: 30px;
}

.contact-info {
    font-size: 14px;
    margin-bottom: 10px;
}

.copyright {
    font-size: 12px;
}

/* Dark Mode Styles */
body.dark-mode {
    background-color: #121212;
    color: #fff;
}

.dark-mode .header,
.dark-mode .button,
.dark-mode footer {
    background-color: #1f1f1f;
    color: #fff;
}

.dark-mode .button {
    border-color: #fff;
}

.dark-mode .button:hover {
    background-color: #fff;
    color: #000;
}

/* Hero Section Styles */
.hero {
    background-size: cover;
    background-position: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero.light-mode {
    background-image: url("../images/sfday.avif");
}

.hero.dark-mode {
    background-image: url("../images/sfnight.avif");
}

/* Apply text stroke only in dark mode */
body.dark-mode .hero h1 {
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

/* Location List Styles */
.location-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.location-list span {
    font-size: 14px;
    color: #666;
}

/* Dark Mode Icon */
#darkModeToggle {
    background: none;
    border: none;
    padding: 10px;
}

#darkModeToggle img {
    width: 24px;
    height: 24px;
}

/* Media Query for Mobile Responsiveness */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: center;
    }

    .buttons {
        flex-direction: column;
        align-items: center;
        margin-top: 10px;
        display: none;
    }

    .button {
        width: 100%;
        margin-bottom: 5px;
    }

    /* Hamburger Menu Styles */
    .hamburger-menu {
        display: block;
        cursor: pointer;
        position: relative;
        z-index: 2;
    }

    .hamburger-icon {
        width: 24px;
        height: 24px;
    }

    .buttons.show {
        display: flex;
        flex-direction: column;
        width: 100%;
        background-color: #1f1f1f;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 10px;
        z-index: 2;
    }

    .buttons .button:last-child {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px;
        width: auto;
        margin: 5px auto;
    }

    .photo-grid {
        flex-direction: column;
    }

    .photo-grid img {
        max-width: 100%;
        margin-bottom: 10px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-info {
        margin-bottom: 20px;
    }

    .hero h1 {
        font-size: 2em;
    }

    .location-list {
        flex-direction: column;
        align-items: flex-start;
    }

    .location-list span {
        margin-bottom: 5px;
    }

    /* Remove blank space on sides */
    body {
        overflow-x: hidden;
    }

    .header {
        width: 100%;
        padding: 10px;
    }
}

/* Adjust button spacing on PC */
.buttons {
    gap: 10px;
}

.button {
    padding: 10px 20px;
}

/* 404 Page Styles */
.container h1 {
    font-size: 4em;
    color: #333;
    margin-bottom: 0.5em;
}

.container p {
    font-size: 1.5em;
    color: #555;
    margin-bottom: 2em;
}

.container a {
    color: #007bff;
    text-decoration: none;
}

.container a:hover {
    text-decoration: underline;
}

/* Inquiry Page Styles */
.inquiry-container {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 400px;
    max-width: 90%;
}

.inquiry-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.inquiry-container .form-group {
    margin-bottom: 20px;
}

.inquiry-container label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.inquiry-container input[type="text"],
.inquiry-container input[type="email"],
.inquiry-container textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.inquiry-container textarea {
    height: 100px;
}

.inquiry-container button {
    background-color: #007bff;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

.inquiry-container button:hover {
    background-color: #0056b3;
}

.inquiry-container .success-message {
    display: none;
    margin-top: 20px;
    color: green;
}

.inquiry-container .success-message.show {
    display: block;
}

/* Services Page Styles */
.services-section {
    padding: 50px;
    text-align: center;
}

.service-item {
    margin: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #f9f9f9;
}

.service-item h3 {
    margin-top: 0;
}

.service-item p {
    margin-bottom: 0;
}

/* Overlap Effect - Replaced with Parallax */
.overlap-container {
    position: relative;
    overflow: hidden;
}

.overlap-content {
    position: relative;
    z-index: 1;
    padding: 50px;
}

.overlap-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.3;
    transition: transform 0.5s ease;
}

.overlap-image.scroll-active {
    transform: translateY(-50%);
}

/* Parallax Section Styles */
section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.text-container {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.text-container.dark-mode {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
}

h1 {
    color: white;
    text-shadow: 1px 1px 3px black;
    z-index: 1;
    font-size: 3em;
    font-weight: 400;
}
