/* Custom Full-Screen Menu Styles */

:root {
    --primary-color: #333;
    --secondary-color: #fff;
    --accent-color: #f0f0f0;
    --transition-speed: 0.3s;
}

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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header and Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem;
    transition: background-color var(--transition-speed);
}

.site-header.overlay {
    background-color: transparent;
}

.site-header.sticky {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 150px;
    width: auto;
    transition: max-height var(--transition-speed);
}

.site-header.sticky .logo img {
    max-height: 100px;
}

.header-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-button {
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: var(--primary-color);
    background-color: var(--accent-color);
    border: 1px solid var(--primary-color);
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

.header-button:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.phone-number {
    font-weight: bold;
}

/* Hamburger Menu Toggle Button */
.menu-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    left: 0;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.menu-open .hamburger {
    transform: rotate(45deg);
}

.menu-open .hamburger::before {
    top: 0;
    transform: rotate(90deg);
}

.menu-open .hamburger::after {
    bottom: 0;
    transform: rotate(90deg);
}

/* Full-Screen Menu Overlay */
.full-screen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1) 1s;
    transform: translateY(-20px);
    z-index: 9999;
}

.full-screen-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.full-screen-menu.active .menu-link {
    opacity: 1;
    transform: translateY(0);
}

.menu-nav ul li:nth-child(1) .menu-link { transition-delay: 0.1s; }
.menu-nav ul li:nth-child(2) .menu-link { transition-delay: 0.2s; }
.menu-nav ul li:nth-child(3) .menu-link { transition-delay: 0.3s; }
.menu-nav ul li:nth-child(4) .menu-link { transition-delay: 0.4s; }
.menu-nav ul li:nth-child(5) .menu-link { transition-delay: 0.5s; }

.menu-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.menu-header .logo {
    display: flex;
    justify-content: center;
    width: 100%;
}

.menu-header .logo img {
    max-height: 100px;
    width: auto;
    transform-origin: center;
}

.close-menu {
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-nav {
    text-align: center;
}

.menu-nav ul {
    list-style-type: none;
    padding: 0;
}

.menu-link {
    font-size: 2rem;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-block;
    padding: 0.5rem 1rem;
    transition: color var(--transition-speed), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px);
}

.menu-link:hover {
    color: #666;
}

.menu-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: var(--accent-color);
}

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

.footer-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.8rem;
}

.footer-logo img {
    max-height: 80px;
    width: auto;
}

/* Ensure buttons are visible in full-screen menu */
.menu-header-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.full-screen-menu .header-button {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.full-screen-menu .header-button:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .site-header .header-buttons {
        display: none;
    }

    .menu-link {
        font-size: 1.5rem;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
    }

    .menu-header-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Logo Animation */
@keyframes logoSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.logo img:hover {
    animation: logoSpin 1s linear;
}

/* Overlay Menu Styles */
.overlay-menu .site-header {
    background-color: transparent;
}

.overlay-menu .full-screen-menu {
    background-color: rgba(255, 255, 255, 0.95);
}

/* Sticky Menu Styles */
.sticky-menu .site-header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.sticky-menu .full-screen-menu {
    padding-top: 80px;
}

/* Image Guidelines */
/*
For responsive images, use the following guidelines:

1. Desktop (1200px and above):
   - Hero image: 1920x1080px
   - Content images: 800x600px

2. Tablet (768px to 1199px):
   - Hero image: 1024x768px
   - Content images: 600x450px

3. Mobile (767px and below):
   - Hero image: 640x480px
   - Content images: 400x300px

Use the following CSS for responsive images:

.responsive-image {
    max-width: 100%;
    height: auto;
}

And use appropriate srcset and sizes attributes in your HTML for optimal performance:

<img src="image-small.jpg"
     srcset="image-small.jpg 400w, image-medium.jpg 800w, image-large.jpg 1200w"
     sizes="(max-width: 767px) 100vw, (max-width: 1199px) 50vw, 33vw"
     alt="Description of image"
     class="responsive-image">
*/
