/* Common CSS for shared styles across pages */

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #f5f5f5;
    --text-color: #333;
    --light-text: #666;
    --white: #fff;
    --max-width: 1200px;
    --orange: #de8a2a;
    --gold: #d4af37;    
    --light-gold: #e5c76b;  
    --gold-hover: #c19b2e;  
}

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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #fff;
    background: none;
    position: relative;
    filter: brightness(1.1);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    background: url('../img/imgSuperBack.jpeg') center center/cover no-repeat;
    transition: filter 0.4s cubic-bezier(.4,0,.2,1);
    pointer-events: none;
    color: #fff;
}

html {
    scroll-behavior: smooth;
}

main, section, header, footer {
    position: relative;
    z-index: 1;
    background: none;
    margin-bottom: 60px;
    border-radius: 0;
    backdrop-filter: none;
}

/* JS will add .blurred to body on scroll */
body.blurred::before {
    filter: blur(10px) brightness(1);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.98);
    z-index: 1000;
    box-shadow: none;
    border-bottom: 2px solid #111;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0;
    max-width: var(--max-width);
    margin: 0 10%;
}

.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    color: #111;
    font-family: 'Caveat', cursive;
    font-size: 1.6rem;
    font-weight: 700;
}

.logo img {
    height: 60px;
    width: auto;
    border-radius: 50px;
}

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

nav ul li a {
    text-decoration: none;
    color: #111 !important;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--orange) !important;
    text-shadow: none;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: var(--text-color);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--orange);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
    position: fixed;
    left: 20px;
    top: 20px;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.mobile-nav {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100vh;
    background: var(--white);
    padding: 80px 0 20px;
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: none;
    pointer-events: none;
    opacity: 0;
}

.mobile-nav.active {
    transform: translateX(0);
    pointer-events: auto;
    opacity: 1;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.mobile-nav ul li {
    margin: 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.mobile-nav ul li:last-child {
    border-bottom: none;
}

.mobile-nav ul li a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    display: block;
    padding: 15px 25px;
    transition: background-color 0.3s ease;
}

.mobile-nav ul li a:hover {
    background-color: var(--secondary-color);
    color: var(--orange);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .desktop-nav {
        display: none !important;
    }

    .navbar {
        justify-content: center;
        height: 70px;
    }

    .logo {
        margin: 0 auto;
        font-size: 1.2rem;
    }
    
    .logo img {
        width: 35px;
        height: 35px;
    }

    .social-icons {
        display: none;
    }
    
    /* Enhanced mobile navigation */
    .mobile-nav {
        top: 70px;
        padding-top: 20px;
    }
    
    .mobile-nav ul li a {
        padding: 15px 20px;
        font-size: 1.1rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .navbar {
        height: 65px;
    }
    
    .logo {
        font-size: 1.1rem;
    }
    
    .logo img {
        width: 30px;
        height: 30px;
    }
    
    .mobile-nav {
        top: 65px;
    }
    
    .mobile-nav ul li a {
        padding: 12px 15px;
        font-size: 1rem;
    }
}

/* Touch-friendly navigation */
@media (hover: none) and (pointer: coarse) {
    .mobile-menu-btn {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-nav ul li a {
        min-height: 44px;
    }
}

/* Footer */
footer {
    background: rgba(57, 57, 57, 0.98);
    color: var(--primary-color);
    padding: 80px 0 30px;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    margin-bottom: -50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 20px;
}

.footer-links h4,
.footer-newsletter h4 {
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 18px;
    text-shadow: 0 2px 8px rgb(48, 48, 48);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: var(--orange);
    text-shadow: 0 2px 8px rgba(0,0,0,0.45);
}

.footer-newsletter form {
    display: flex;
    gap: 10px;
}

.footer-newsletter input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
}

.footer-newsletter button {
    background: var(--orange);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.footer-newsletter button:hover {
    background: #c39a6b;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 1rem;
    opacity: 0.8;
    color: #fff;
} 