/* Gothic Medieval Style for London's Culture History */

:root {
    --dark-bg: #1a1a1a;
    --darker-bg: #0d0d0d;
    --gothic-red: #8b0000;
    --gothic-burgundy: #5c0000;
    --gothic-gold: #c9a961;
    --gothic-stone: #8b8680;
    --text-light: #e8e6e3;
    --text-muted: #b8b6b3;
    --border-color: #3a3a3a;
}

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

body {
    font-family: 'Cormorant Garamond', 'Old Standard TT', serif;
    background-color: var(--darker-bg);
    color: var(--text-light);
    line-height: 1.8;
    min-height: 100vh;
    background-image: 
        linear-gradient(rgba(26, 26, 26, 0.95), rgba(13, 13, 13, 0.95)),
        url('../images/section-background.jpg.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    color: var(--gothic-gold);
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
}

a {
    color: var(--gothic-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #d4b876;
    text-decoration: underline;
}

/* Menu Toggle Button (Top Left) */
.menu-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: rgba(26, 26, 26, 0.9);
    border: 2px solid var(--gothic-gold);
    color: var(--gothic-gold);
    width: 125px;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.menu-toggle:hover {
    background: rgba(139, 0, 0, 0.3);
    border-color: #d4b876;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--gothic-gold);
    margin: 4px 0;
    transition: all 0.3s ease;
    position: relative;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Sidebar Menu */
.sidebar-menu {
    position: fixed;
    top: 0;
    left: -350px;
    width: 350px;
    height: 100vh;
    background: linear-gradient(180deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    border-right: 3px solid var(--gothic-gold);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.8);
    z-index: 1000;
    transition: left 0.4s ease;
    overflow-y: auto;
}

.sidebar-menu.active {
    left: 0;
}


.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-top: 90px;
}

.menu-list li {
    border-bottom: 1px solid rgba(201, 169, 97, 0.2);
}

.menu-list a {
    display: block;
    padding: 20px 30px;
    color: var(--text-light);
    font-size: 1.3rem;
    font-family: 'Cormorant Garamond', serif;
    transition: all 0.3s ease;
    text-decoration: none;
}

.menu-list a:hover,
.menu-list a.active {
    background: rgba(139, 0, 0, 0.3);
    color: var(--gothic-gold);
    padding-left: 40px;
    text-decoration: none;
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Logo Container - smaller for regular pages */
.logo-container {
    text-align: center;
    padding: 0px 20px 0px;
    margin-top: 40px;
}

/* Logo Container - larger for home page with wide logo */
.logo-container:has(.site-logo-wide) {
    padding: 30px 20px 0px;
    margin-top: -20px;
}

.site-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(201, 169, 97, 0.3));
    display: block;
    margin: 0 auto;
}

.site-logo-wide {
    max-width: 100%;
    width: 100%;
    max-height: 600px;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.site-logo-text {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    color: var(--gothic-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 3px;
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
    padding-bottom: 50px;
}

.container {
    max-width: 1200px;
}

/* Sections */
section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gothic-gold), transparent);
}

/* Cards */
.card {
    background: rgba(26, 26, 26, 0.8);
    border: 2px solid var(--border-color);
    border-radius: 0;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    border-color: var(--gothic-gold);
    box-shadow: 0 8px 20px rgba(201, 169, 97, 0.2);
    transform: translateY(-5px);
}

.card-img-top {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 2px solid var(--border-color);
}

.card-body {
    padding: 25px;
}

.card-title {
    font-family: 'Cinzel', serif;
    color: var(--gothic-gold);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.card-text {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Buttons */
.btn {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    padding: 12px 30px;
    border-radius: 0;
    border: 2px solid;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.btn-primary {
    background-color: transparent;
    border-color: var(--gothic-gold);
    color: var(--gothic-gold);
}

.btn-primary:hover {
    background-color: rgba(201, 169, 97, 0.2);
    border-color: #d4b876;
    color: #d4b876;
    text-decoration: none;
}

.btn-visit {
    background-color: transparent;
    border-color: var(--gothic-red);
    color: var(--text-light);
    margin-top: 15px;
}

.btn-visit:hover {
    background-color: rgba(139, 0, 0, 0.3);
    border-color: #a00000;
    color: var(--text-light);
}

/* Footer */
.site-footer {
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    border-top: 3px solid var(--gothic-gold);
    padding: 40px 0;
    margin-top: 80px;
}

.footer-links {
    text-align: center;
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--text-light);
    font-size: 1.1rem;
    margin: 0 15px;
    font-family: 'Cormorant Garamond', serif;
}

.footer-links a:hover {
    color: var(--gothic-gold);
    text-decoration: underline;
}

.separator {
    color: var(--gothic-stone);
    margin: 0 10px;
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(201, 169, 97, 0.2);
}

.footer-copyright p {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -140px;
    text-align: center;
    padding: 100px 20px 60px;
    background-image: 
        linear-gradient(rgba(13, 13, 13, 0.7), rgba(26, 26, 26, 0.7)),
        url('../images/hero-background.jpg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 30px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

.hero-content p {
    font-size: 1.5rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

/* Places Grid */
.places-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.place-item {
    background: rgba(26, 26, 26, 0.8);
    border: 2px solid var(--border-color);
    padding: 0;
    transition: all 0.3s ease;
}

.place-item:hover {
    border-color: var(--gothic-gold);
    box-shadow: 0 8px 20px rgba(201, 169, 97, 0.2);
}

.place-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;
    border-bottom: 2px solid var(--border-color);
    display: block;
}

.place-content {
    padding: 25px;
}

.place-title {
    font-family: 'Cinzel', serif;
    color: var(--gothic-gold);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.place-description {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.opening-hours {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(201, 169, 97, 0.1);
    border-left: 3px solid var(--gothic-gold);
    border-radius: 3px;
}

.opening-hours i {
    color: var(--gothic-gold);
    margin-right: 8px;
}

.opening-hours strong {
    color: var(--gothic-gold);
    font-weight: 600;
}

/* Contact Page */
.contact-info {
    background: rgba(26, 26, 26, 0.6);
    border: 2px solid var(--border-color);
    padding: 40px;
    margin-top: 40px;
}

.contact-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(201, 169, 97, 0.2);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.contact-item p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin: 0;
}

/* Content Sections */
.content-section {
    background: rgba(26, 26, 26, 0.6);
    border: 2px solid var(--border-color);
    padding: 50px;
    margin-top: 40px;
}

.content-section p {
    font-size: 1.2rem;
    line-height: 2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar-menu {
        width: 100%;
        left: -100%;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .site-logo-text {
        font-size: 2rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .content-section {
        padding: 30px 20px;
    }
    
    .places-grid {
        grid-template-columns: 1fr;
    }
    
    .menu-list a {
        font-size: 1.1rem;
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .menu-toggle {
        width: 112px;
        height: 45px;
        top: 15px;
        left: 15px;
        padding: 8px;
    }
    
    .menu-toggle span {
        width: 22px;
        margin: 3px 0;
    }
    
    .logo-container {
        padding: 0px 15px 0px;
        margin-top: 30px;
    }
    
    .logo-container:has(.site-logo-wide) {
        padding: 15px 15px 10px;
        margin-top: 70px;
    }
    
    .site-logo-wide {
        height: auto;
        object-position: center;
    }
    
    .site-logo {
        max-width: 250px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
}

