/* Fixed header styling */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

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

.logo-link {
    text-decoration: none;
    transition: transform 0.3s ease;
    display: inline-block;
}

.logo-link:hover {
    transform: scale(1.02);
}

.logo {
    display: flex;
    align-items: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-orange);
    font-family: 'Playfair Display', serif;
    cursor: pointer;
    padding-bottom: 10px;
}

.logo-image {
    height: 40px;
    width: auto;
    margin-right: 12px;
    display: block;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--orange);
    transition: width 0.3s;
}

nav ul li a:hover {
    color: var(--orange);
}

nav ul li a:hover:after {
    width: 100%;
}

/* Add padding to body to account for fixed header */
body {
    padding-top: 90px; /* Adjust based on your header height */
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

    .container {
    padding: 10px 20px;
    }

    .logo {
        font-size: 32px;
    }
    
    .logo-image {
        height: 45px;
        margin-right: 15px;
    }
    
    nav ul li {
        margin-left: 35px;
    }
    
    nav ul li a {
        font-size: 18px;
    }
    
    body {
        padding-top: 100px; /* Adjust for larger header */
    }
}

/* Large devices (desktops, 992px to 1199px) */
@media (max-width: 1199px) {

    .container {
    padding: 10px 20px;
    }

    .logo {
        font-size: 30px;
    }
    
    .logo-image {
        height: 42px;
        margin-right: 14px;
    }
    
    nav ul li {
        margin-left: 32px;
    }
    
    nav ul li a {
        font-size: 17px;
    }
    
    body {
        padding-top: 95px;
    }
}

/* Medium devices (tablets, 768px to 991px) */
@media (max-width: 991px) {

    .container {
    padding: 10px 20px;
    }

    .logo {
        font-size: 26px;
    }
    
    .logo-image {
        height: 38px;
        margin-right: 12px;
    }
    
    nav ul li {
        margin-left: 25px;
    }
    
    nav ul li a {
        font-size: 15px;
    }
    
    body {
        padding-top: 90px;
    }
}

/* Small devices (landscape phones, 576px to 767px) */
@media (max-width: 767px) {
    header {
        padding: 12px 0;
    }
    
    .header-content {
        flex-direction: column;
        padding: 10px 0;
    }
    
    .logo {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .logo-image {
        height: 35px;
        margin-right: 10px;
    }
    
    nav ul {
        margin-top: 10px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    nav ul li {
        margin: 5px 15px;
    }
    
    nav ul li a {
        font-size: 14px;
    }
    
    body {
        padding-top: 120px; /* Increased for stacked layout */
    }
}

/* Extra small devices (portrait phones, 480px to 575px) */
@media (max-width: 575px) {
    header {
        padding: 10px 0;
    }
    
    .logo {
        font-size: 22px;
    }
    
    .logo-image {
        height: 32px;
        margin-right: 8px;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    nav ul li a {
        font-size: 13px;
    }
    
    body {
        padding-top: 110px;
    }
}

/* Tiny devices (small phones, less than 480px) */
@media (max-width: 479px) {
    header {
        padding: 8px 0;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .logo-image {
        height: 30px;
        margin-right: 8px;
    }
    
    nav ul li {
        margin: 5px 8px;
    }
    
    nav ul li a {
        font-size: 12px;
    }
    
    body {
        padding-top: 100px;
    }
}