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

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: white;
    padding: 40px 60px;
}

/* Top Navigation */
.top-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 60px;
    padding-bottom: 30px;
}

.top-nav a {
    color: black;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: opacity 0.3s;
}

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

/* Hero Container */
.hero-container {
    border: 3px solid black;
    border-right: none; /* Remove right border so image can extend */
    padding: 0; /* Remove padding */
    min-height: 100vh; /* Full viewport height */
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Split page in half */
    min-height: 100vh;
}

/* Text Section */
.text-section {
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers vertically */
    align-items: center; /* Centers horizontally */
    text-align: center; /* Centers the text itself */
    border-right: 3px solid black;
}

.text-section h1 {
    font-size: 96px; /* Increased from 72px */
    line-height: 1.1;
    margin-bottom: 30px;
    font-weight: 700;
}

.description {
    font-size: 28px; /* Increased from 22px */
    line-height: 1.6;
    color: #333;
}

/* Image Section */
.image-section {
    position: relative;
    overflow: hidden;
}

.image-section img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Makes image fill the space while maintaining aspect ratio */
    object-position: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    body {
        padding: 20px 30px;
    }
    
    .hero-content {
        flex-direction: column;
    }
    
    .text-section h1 {
        font-size: 56px;
    }
    
    .image-section {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .top-nav {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .text-section h1 {
        font-size: 48px;
    }
    
    .description {
        font-size: 18px;
    }
    
    .hero-container {
        padding: 40px 30px;
    }
}

/* Blog Page Styles */
.blog-header {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.blog-header h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.blog-subtitle {
    font-size: 18px;
    color: #666;
}

/* Blog Grid */
.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Blog Card Link - Remove default link styling */
.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Blog Card */
.blog-card {
    background-color: white;
    border: 2px solid black;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 5px 5px 0px black;
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-category {
    display: inline-block;
    background-color: white;
    padding: 5px 10px;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 10px;
    border: 1px solid black;
    font-weight: 600;
}

.blog-card h2 {
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.blog-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: #999;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

/* Individual Blog Post Styles */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.post-header {
    margin-bottom: 30px;
}

.post-category {
    display: inline-block;
    background-color: white;
    padding: 5px 15px;
    font-size: 12px;
    text-transform: uppercase;
    border: 1px solid black;
    font-weight: 600;
    margin-bottom: 20px;
}

.post-header h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 15px;
}

.post-meta {
    font-size: 16px;
    color: #666;
}

.post-hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    margin-bottom: 40px;
    border: 2px solid black;
}

.post-content {
    font-size: 18px;
    line-height: 1.8;
}

.post-content h2 {
    font-size: 32px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.post-content h3 {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content blockquote {
    border-left: 4px solid black;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    font-size: 20px;
}

.post-footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 2px solid black;
}

.back-link {
    color: black;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}

.back-link:hover {
    text-decoration: underline;
}

/* Gallery Card Flip Styles - Add these to your style.css */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600&family=Inter:wght@300;400;500&display=swap');

/* Page Setup */
.gallery-page {
    background: #ffffff;
    min-height: 100vh;
    padding: 60px 40px;
}

/* Header */
.gallery-main-header {
    text-align: center;
    margin-bottom: 80px;
}

.gallery-main-header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4.5rem;
    font-weight: 300;
    letter-spacing: 0.03em;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.gallery-intro {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: #666;
    letter-spacing: 0.02em;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Card Container */
.gallery-card {
    perspective: 1000px;
    height: 500px;
    cursor: pointer;
}

/* Card Inner (handles the flip) */
.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.gallery-card:hover .card-inner {
    transform: rotateY(180deg);
}

/* Card Faces */
.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Front of Card */
.card-front {
    background: #f8f8f8;
    display: flex;
    flex-direction: column;
}

.card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 30px 20px 20px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* Back of Card */
.card-back {
    background: #ffffff;
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    border: 1px solid #e0e0e0;
}

.card-back-content {
    max-height: 100%;
    overflow-y: auto;
}

.card-back-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 20px;
    letter-spacing: 0.01em;
}

.card-back-content p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #3a3a3a;
    margin-bottom: 15px;
}

.card-back-content p:last-child {
    margin-bottom: 0;
}

.card-back-content em {
    color: #666;
    font-style: italic;
}

.card-back-content strong {
    font-weight: 500;
    color: #1a1a1a;
}

.minimal-text {
    text-align: center;
    font-size: 2rem;
    color: #ccc;
}

/* Missing Image Placeholder */
.missing-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.card-missing .card-front {
    background: #fafafa;
}

/* Scrollbar for card back (if content overflows) */
.card-back-content::-webkit-scrollbar {
    width: 4px;
}

.card-back-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.card-back-content::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .gallery-page {
        padding: 40px 20px;
    }

    .gallery-main-header h1 {
        font-size: 3rem;
    }

    .gallery-main-header {
        margin-bottom: 50px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 10px;
    }

    .gallery-card {
        height: 450px;
    }

    .card-back {
        padding: 30px;
    }

    .card-back-content h3 {
        font-size: 1.5rem;
    }

    .card-back-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .gallery-main-header h1 {
        font-size: 2.5rem;
    }

    .gallery-card {
        height: 400px;
    }

    .card-title {
        font-size: 1.3rem;
    }

    .card-back {
        padding: 25px;
    }
}

/* Quotes Page Styles */

.quotes-container {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 40px;
}

.quote-block {
    margin-bottom: 80px;
    padding: 40px 0;
    border-bottom: 1px solid #e0e0e0;
}

.quote-block:last-child {
    border-bottom: none;
}

.quote-text {
    font-size: 1.5em;
    line-height: 1.6;
    font-style: italic;
    color: #333;
    margin-bottom: 20px;
    font-weight: 300;
}

.quote-author {
    font-size: 1.1em;
    color: #666;
    text-align: right;
    font-weight: 400;
}

.quotes-header {
    text-align: center;
    padding: 80px 20px 40px;
    background: #fff;
}

.quotes-header h1 {
    font-size: 3em;
    margin-bottom: 15px;
    font-weight: 300;
    color: #222;
}

.quotes-subtitle {
    font-size: 1.2em;
    color: #666;
    font-weight: 300;
}

@media (max-width: 768px) {
    .quote-text {
        font-size: 1.2em;
    }
    
    .quotes-header h1 {
        font-size: 2em;
    }
    
    .quotes-container {
        padding: 0 20px;
    }
}
