/* La Maison Noir - Global Styles */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Georgia", serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #e8e8e8;
    min-height: 100vh;
}

/* Navigation - Back Button */
.back-btn {
    position: fixed;
    top: 30px;
    left: 30px;
    padding: 12px 25px;
    background: rgba(212, 175, 55, 0.1);
    color: #d4af37;
    border: 2px solid #d4af37;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 0.95em;
    letter-spacing: 0.5px;
    z-index: 100;
}

.back-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: translateX(-3px);
}

/* Container Styles */
.container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(20, 20, 20, 0.9);
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

/* Header Styles */
.header {
    text-align: center;
    padding: 60px 40px 40px;
    background: linear-gradient(180deg, #1a1a1a 0%, #252525 100%);
    border-bottom: 2px solid #d4af37;
}

.header h1 {
    font-size: 3.5em;
    color: #d4af37;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.header p {
    font-size: 1.1em;
    color: #b8b8b8;
    font-style: italic;
    letter-spacing: 1px;
}

/* Footer Styles */
.footer {
    text-align: center;
    padding: 30px;
    background: #1a1a1a;
    color: #888;
    font-size: 0.9em;
}

/* Button Styles */
.cta-btn,
.submit-btn {
    padding: 18px 45px;
    font-size: 1.1em;
    font-weight: 600;
    letter-spacing: 1px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-btn.primary,
.submit-btn {
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    color: #1a1a1a;
}

.cta-btn.primary:hover,
.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.cta-btn.secondary {
    background: transparent;
    color: #d4af37;
    border: 2px solid #d4af37;
}

.cta-btn.secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Form Styles */
.form-content {
    padding: 40px 50px 50px;
}

.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    color: #d4af37;
    font-size: 0.95em;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

input,
select,
textarea {
    width: 100%;
    padding: 12px 15px;
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 5px;
    color: #e8e8e8;
    font-family: "Georgia", serif;
    font-size: 1em;
    transition: all 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #d4af37;
    background: #333;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

input::placeholder,
textarea::placeholder {
    color: #666;
}

select {
    cursor: pointer;
}

select option {
    background: #2a2a2a;
    color: #e8e8e8;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.error {
    color: #ff6b6b;
    font-size: 0.85em;
    margin-top: 5px;
    display: none;
}

.success-message {
    display: none;
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid #4caf50;
    color: #4caf50;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 20px;
}

.loading {
    display: none;
    text-align: center;
    padding: 20px;
}

.spinner {
    border: 3px solid #3a3a3a;
    border-top: 3px solid #d4af37;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Menu Styles */
.menu-content {
    padding: 50px 60px;
}

.section {
    margin-bottom: 50px;
}

.section-title {
    font-size: 2em;
    color: #d4af37;
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #3a3a3a;
    letter-spacing: 2px;
    font-weight: 300;
}

.menu-item {
    margin-bottom: 30px;
    padding: 15px;
    padding-bottom: 25px;
    border-bottom: 1px solid #2a2a2a;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-left: -15px;
    margin-right: -15px;
    border-radius: 5px;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    transform: translateX(5px);
    background: rgba(212, 175, 55, 0.05);
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}

.item-name {
    font-size: 1.3em;
    color: #f5f5f5;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.item-price {
    font-size: 1.2em;
    color: #d4af37;
    font-weight: 500;
}

.item-description {
    font-size: 0.95em;
    color: #a8a8a8;
    line-height: 1.6;
    font-style: italic;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
    border: 2px solid #d4af37;
    border-radius: 10px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.modal-header {
    padding: 30px 40px 20px;
    border-bottom: 1px solid #3a3a3a;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid #d4af37;
    color: #d4af37;
    font-size: 1.4em;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
    line-height: 0;
}

.modal-close:hover {
    background: rgba(255, 0, 0, 0.6);
    transform: rotate(90deg);
}

.modal-title {
    font-size: 2em;
    color: #d4af37;
    margin-bottom: 10px;
    padding-right: 50px;
}

.modal-price {
    font-size: 1.5em;
    color: #d4af37;
    font-weight: 500;
}

.modal-body {
    padding: 30px 40px;
}

.modal-description {
    font-size: 1.1em;
    color: #b8b8b8;
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
}

.modal-details {
    background: rgba(30, 30, 30, 0.5);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #2a2a2a;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #2a2a2a;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: #888;
    font-size: 0.95em;
}

.detail-value {
    color: #e8e8e8;
    font-weight: 500;
}

.modal-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 8px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4em;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Homepage Specific Styles */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 20px;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.95) 0%,
        rgba(45, 45, 45, 0.95) 100%
    );
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(
            circle at 20% 50%,
            rgba(212, 175, 55, 0.1) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 50%,
            rgba(212, 175, 55, 0.1) 0%,
            transparent 50%
        );
    pointer-events: none;
}

.content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.logo {
    font-size: 5em;
    color: #d4af37;
    font-weight: 300;
    letter-spacing: 5px;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    animation: fadeInDown 1s ease-out;
}

.tagline {
    font-size: 1.5em;
    color: #b8b8b8;
    font-style: italic;
    letter-spacing: 2px;
    margin-bottom: 50px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.description {
    font-size: 1.1em;
    color: #a8a8a8;
    line-height: 1.8;
    margin-bottom: 60px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.info-section {
    padding: 100px 20px;
    background: rgba(20, 20, 20, 0.8);
}

.info-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.info-card {
    text-align: center;
    padding: 40px 30px;
    background: rgba(30, 30, 30, 0.6);
    border-radius: 10px;
    border: 1px solid #3a3a3a;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: #d4af37;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.info-icon {
    font-size: 3em;
    color: #d4af37;
    margin-bottom: 20px;
}

.info-title {
    font-size: 1.5em;
    color: #d4af37;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.info-text {
    color: #a8a8a8;
    line-height: 1.6;
    font-size: 1em;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2.5em;
    }

    .menu-content {
        padding: 30px 30px;
    }

    .section-title {
        font-size: 1.5em;
    }

    .item-name {
        font-size: 1.1em;
    }

    .form-content {
        padding: 30px 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .modal-content {
        padding: 20px;
        max-height: 85vh;
    }

    .modal-header {
        padding: 20px 20px 15px;
    }

    .modal-body {
        padding: 20px;
    }

    .modal-title {
        font-size: 1.5em;
    }

    .modal-image {
        height: 200px;
        font-size: 3em;
    }

    .logo {
        font-size: 3em;
    }

    .tagline {
        font-size: 1.2em;
    }

    .description {
        font-size: 1em;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .cta-btn {
        width: 100%;
    }

    .info-section {
        padding: 60px 20px;
    }
}
