/* Import Google Font - Caesar Dressing for Greek-style headings */
@import url('https://fonts.googleapis.com/css2?family=Caesar+Dressing&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #E5A100;
    --accent-color: #000000;
    --text-color: #000000;
    --card-background: #EEAA00;
}

body {
    font-family: 'Georgia', serif;
    background-color: var(--primary-color);
    min-height: 100vh;
    color: var(--text-color);
    line-height: 1.6;
}

/* Top Navigation */
.top-nav {
    background: #000;
    padding: 0.5rem 1rem;
    text-align: right;
    position: relative;
    z-index: 20;
    margin-left: -200px;
    margin-right: -200px;
    padding-left: 210px;
    padding-right: 210px;
}

.top-nav a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.25rem 0.75rem;
    transition: opacity 0.3s;
}

.top-nav a:hover {
    opacity: 0.8;
}

/* Greek Key Border Pattern */
.greek-border {
    height: 35px;
    background-color: #000;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='35' viewBox='0 0 40 35'%3E%3Cpath fill='none' stroke='%23D4A03A' stroke-width='3' d='M0 17.5h10v-10h10v10h-5v5h15v-15h-10v-5h20 M40 17.5h-10v10h-10v-10h5v-5h-15v15h10v5h-20'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    position: relative;
    z-index: 20;
    margin-left: -200px;
    margin-right: -200px;
    background-position: center;
}

/* Page Wrapper - columns are now fixed positioned */
.page-wrapper {
    display: block;
    min-height: calc(100vh - 70px - 35px - 35px);
}

/* Ionic Columns - Single image stretched to full height */
.column-left,
.column-right {
    position: fixed;
    top: 60px;
    bottom: 50px;
    width: 200px;
    background: url('../images/column.png') no-repeat center;
    background-size: contain;
    mix-blend-mode: multiply;
    z-index: 5;
}

.column-left {
    left: 0;
}

.column-right {
    right: 0;
    transform: scaleX(-1);
}

/* Hide the three-part divs - now using single background */
.column-top,
.column-shaft,
.column-base {
    display: none;
}

/* Hide old column-decoration */
.column-decoration {
    display: none;
}

/* Add padding to body for fixed columns */
body {
    padding-left: 200px;
    padding-right: 200px;
}

/* Main Content Area */
.main-content {
    flex: 1;
    padding: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* Header */
header {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--primary-color);
}

/* Hero Image */
.hero-image {
    max-width: 500px;
    margin: 0 auto 1rem;
}

.hero-image img {
    width: 100%;
    height: auto;
}

header h1 {
    font-family: 'Caesar Dressing', cursive;
    font-size: 3rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.3rem;
    font-weight: normal;
    color: #000;
}

header .subtitle {
    font-size: 1.25rem;
    color: #000;
}

/* Navigation Links */
nav {
    margin-bottom: 1rem;
}

.back-link {
    color: #000;
    text-decoration: none;
    font-size: 1.1rem;
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 2px solid #000;
    transition: background 0.3s ease;
}

.back-link:hover {
    background: rgba(0, 0, 0, 0.1);
}

/* Intro Section */
.intro {
    text-align: center;
    color: #000;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Gods Grid */
.gods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
}

.god-card {
    background: var(--card-background);
    border: 3px solid #000;
    padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.god-card:hover {
    transform: translateY(-5px);
    box-shadow: 5px 5px 0 #000;
}

.god-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.god-card h2 {
    font-family: 'Caesar Dressing', cursive;
    color: #000;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    font-weight: normal;
}

.god-card p {
    color: #000;
    font-size: 0.9rem;
}

/* God Detail Page */
.god-detail {
    background: var(--card-background);
    border: 3px solid #000;
    padding: 2rem;
}

.god-hero {
    text-align: center;
    padding: 2rem;
    background: var(--primary-color);
    border: 3px solid #000;
    margin-bottom: 2rem;
}

.god-icon-large {
    font-size: 5rem;
}

.god-info h2 {
    font-family: 'Caesar Dressing', cursive;
    color: #000;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    font-weight: normal;
    border-bottom: 3px solid #000;
    padding-bottom: 0.5rem;
}

.god-info p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.god-info ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.god-info li {
    margin-bottom: 0.5rem;
}

/* About Page Styles */
.about-content {
    text-align: center;
    padding: 2rem;
}

.about-title {
    font-family: 'Caesar Dressing', cursive;
    font-size: 3.5rem;
    letter-spacing: 0.5rem;
    margin-bottom: 1rem;
    font-weight: normal;
}

.about-subtitle {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.about-credit {
    display: inline-block;
    padding: 2rem;
    border: 4px solid #000;
    border-radius: 50%;
    margin: 2rem 0;
}

.about-credit p {
    font-size: 1.2rem;
    font-weight: bold;
}

.greek-elements {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.greek-element {
    font-size: 4rem;
    text-align: center;
}

.greek-element p {
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    color: #000;
    background: var(--primary-color);
}

footer .back-link {
    display: inline-block;
    margin-bottom: 0.5rem;
}

footer p {
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .column-left,
    .column-right {
        display: none;
    }

    .page-wrapper {
        display: block;
    }

    header h1 {
        font-size: 2rem;
        letter-spacing: 0.1rem;
    }

    .gods-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .god-card {
        padding: 1rem;
    }

    .god-icon {
        font-size: 2rem;
    }

    .god-card h2 {
        font-size: 1.1rem;
    }

    .about-title {
        font-size: 2rem;
        letter-spacing: 0.2rem;
    }

    .about-subtitle {
        font-size: 1.5rem;
    }
}
