/**
 * Saray Pastanesi - Main Stylesheet
 * Combined CSS from header.php and footer.php templates
 * Generated: 2026-02-10
 */

/* ============================================
   BASE STYLES (from header.php)
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

:root {
    --gold: #d4a574;
    --gold-dark: #b8935f;
    --gold-light: #e8c9a0;
    --gruen: #2d4a3e;
    --gruen-dunkel: #1a2f26;
    --creme: #f9f6f0;
    --beige: #e8dcc4;
    --schwarz: #1c1410;
}

body {
    font-family: 'Playfair Display', serif;
    background: var(--creme);
    color: var(--schwarz);
    line-height: 1.7;
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

p, span:not(.btn):not(.badge):not(.nav-links *) {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
}

.btn, .nav-links a, button {
    font-family: 'Playfair Display', serif;
}

small, .small {
    font-weight: 600;
}

/* ============================================
   NAVIGATION (from header.php)
   ============================================ */

nav {
    background: var(--gruen-dunkel);
    padding: 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
}

.logo-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-nav a {
    text-decoration: none;
}

.logo-image {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(212, 165, 116, 0.3));
    transition: transform 0.3s;
}

.logo-image:hover {
    transform: scale(1.05);
}

.logo-text {
    font-family: 'Cormorant Garamond', serif;
    color: var(--gold);
    font-size: 1.3rem;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--gold-light);
    text-decoration: none;
    font-family: 'Playfair Display', serif !important;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-links a.active {
    color: var(--gold);
    font-weight: 600;
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-right .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
}

.nav-icon {
    color: var(--gold-light);
    font-size: 1.3rem;
    transition: color 0.3s;
    position: relative;
}

.nav-icon:hover {
    color: var(--gold);
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--gold);
    color: var(--gruen-dunkel);
    font-size: 0.7rem;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   BURGER MENU (from header.php)
   ============================================ */

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.burger-menu span {
    width: 28px;
    height: 3px;
    background: var(--gold);
    transition: all 0.3s;
    border-radius: 2px;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5.5px, 5.5px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5.5px, -5.5px);
}

/* ============================================
   BUTTONS (from header.php)
   ============================================ */

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
    border: 2px solid transparent;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-gold {
    background: var(--gold);
    color: var(--gruen-dunkel);
    border-color: var(--gold);
}

.btn-gold:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--gruen-dunkel);
}

.btn-account {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

.btn-account i {
    font-size: 1.1rem;
}

/* ============================================
   ALERT MESSAGES (from header.php)
   ============================================ */

.alert {
    position: fixed;
    top: 100px;
    right: 2rem;
    z-index: 9999;
    padding: 1.25rem 1.75rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    animation: slideInRight 0.4s ease-out;
    max-width: 400px;
    font-weight: 500;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.alert i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.alert-success {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--gruen-dunkel);
    border: 2px solid var(--gold-dark);
}

.alert-error {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
    border: 2px solid #dc3545;
}

@media (max-width: 768px) {
    .alert {
        top: 80px;
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
}

/* ============================================
   CONTAINER (from header.php)
   ============================================ */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   MAIN CONTENT (from header.php)
   ============================================ */

main {
    margin-top: 90px;
    min-height: calc(100vh - 90px - 200px);
}

/* ============================================
   PAGE HEADER (from header.php)
   ============================================ */

.page-header {
    padding: 3rem 2rem 2rem;
    text-align: center;
    background: var(--creme);
}

.page-header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: var(--gruen-dunkel);
    letter-spacing: 3px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.page-header h1 i {
    color: var(--gold);
    font-size: 2rem;
}

/* ============================================
   WHATSAPP FLOAT (from footer.php)
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.whatsapp-tooltip {
    background: white;
    color: var(--gruen-dunkel);
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    font-family: 'Playfair Display', serif;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    position: relative;
    animation: pulse 2s ease-in-out infinite;
    text-align: center;
    line-height: 1.4;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid white;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

@keyframes pulse {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-5px); }
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    flex-shrink: 0;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn svg {
    width: 35px;
    height: 35px;
    fill: white;
}

/* ============================================
   FOOTER (from footer.php)
   ============================================ */

footer {
    background: var(--gruen-dunkel);
    color: var(--gold-light);
    padding: 4rem 2rem 2rem;
    /* margin-top: 4rem; */
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.footer-section h3 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p {
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-section a {
    color: var(--gold-light);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--gold);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section i {
    margin-right: 0.5rem;
    color: var(--gold);
}

.footer-bottom {
    max-width: 1400px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 165, 116, 0.2);
    text-align: center;
    font-size: 0.85rem;
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0.75rem 1rem;
    }

    .burger-menu {
        display: flex;
        order: 1;
        background: transparent;
        border: none;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background: var(--gruen-dunkel);
        flex-direction: column;
        justify-content: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 0;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 20px rgba(0,0,0,0.3);
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(212, 165, 116, 0.15);
    }

    .nav-links a {
        font-size: 1rem;
        display: block;
        padding: 1rem 0.5rem;
        letter-spacing: 1px;
    }

    .nav-links a.active::after {
        bottom: 0;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 40px;
    }

    .logo-nav {
        flex: 1;
        justify-content: center;
    }

    .logo-image {
        height: 36px;
    }

    .logo-text {
        display: none;
    }

    .nav-right {
        gap: 0.75rem;
    }

    .nav-right .btn {
        padding: 0.4rem 0.65rem;
        font-size: 0.7rem;
        letter-spacing: 0.5px;
    }

    .btn-account {
        padding: 0.4rem 0.65rem !important;
        font-size: 0.7rem !important;
        gap: 0.3rem !important;
        background: transparent !important;
        color: var(--gold) !important;
    }

    .btn-account i {
        font-size: 0.95rem !important;
    }

    .nav-icon {
        font-size: 1.15rem;
    }

    .cart-badge {
        width: 16px;
        height: 16px;
        font-size: 0.6rem;
        top: -6px;
        right: -6px;
    }

    main {
        margin-top: 62px;
    }

    .page-header {
        padding: 1.5rem 1rem 1.25rem;
    }

    .page-header h1 {
        font-size: 1.5rem;
        letter-spacing: 1.5px;
        gap: 0.5rem;
    }

    .page-header h1 i {
        font-size: 1.25rem;
    }

    .container {
        padding: 0 1rem;
    }

    .whatsapp-tooltip {
        display: none;
    }

    .whatsapp-float {
        bottom: 16px;
        right: 16px;
    }

    .whatsapp-btn {
        width: 52px;
        height: 52px;
    }

    .whatsapp-btn svg {
        width: 28px;
        height: 28px;
    }

    footer {
        padding: 3rem 1.5rem 1.5rem;
    }

    .footer-section h3 {
        font-size: 1.25rem;
    }

    .footer-section h4 {
        font-size: 0.9rem;
    }

    .footer-section p {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-section ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.25rem 1rem;
    }

    .footer-section ul li {
        margin-bottom: 0;
    }

    footer {
        padding: 2.5rem 1.5rem 1.5rem;
    }

    .footer-bottom {
        margin-top: 1.5rem;
        padding-top: 1rem;
        font-size: 0.8rem;
    }

    .whatsapp-float {
        bottom: 12px;
        right: 12px;
    }

    .whatsapp-tooltip {
        display: none;
    }

    .whatsapp-btn {
        width: 50px;
        height: 50px;
    }

    .whatsapp-btn svg {
        width: 28px;
        height: 28px;
    }
}

/* ============================================
   MOBILE MENU OVERLAY
   ============================================ */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* ============================================
   SKIP LINK (Accessibility)
   ============================================ */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--gold);
    color: var(--gruen-dunkel);
    padding: 0.75rem 1.5rem;
    z-index: 10000;
    font-weight: 700;
    text-decoration: none;
    border-radius: 0 0 8px 8px;
}

.skip-link:focus {
    top: 0;
}

/* ============================================
   FOCUS INDICATORS (Accessibility)
   ============================================ */
:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* ============================================
   LOADING SPINNER
   ============================================ */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spin {
    display: inline-block;
    animation: spin 0.8s linear infinite;
}

button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
