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

body {
    font-family: 'Arapey', serif;
    color: #333;
    line-height: 1.6;
    background-color: #ffffff;
}

/* Header Styles */
header {
    background-color: #ffffff;
    width: 100%;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
}

.logo {
    max-width: 300px;
    height: auto;
}

/* Navigation Styles */
nav {
    background-color: #ffffff;
    width: 100%;
    font-family: 'Arapey', serif;
}

.nav-container {
    width: 100%;
}

.nav-menu {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    list-style: none;
    padding: 1rem;
    flex-wrap: wrap;
    width: 100%;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: rgba(12, 12, 12, 0.5490196078431373);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1.2px;
    padding: 0.5rem 0;
    display: block;
    white-space: nowrap;
    transition: color 0.3s ease;
    font-family: 'Arapey', 'Times New Roman', serif !important;
}

.nav-link:hover {
    color: #666;
}

/* Add chevron to links with dropdowns */
.nav-item:has(.dropdown) > .nav-link::after {
    content: " ▾";
    font-size: 0.8em;
    margin-left: 0.3rem;
}

/* Dropdown Styles */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 220px;
    display: none;
    z-index: 1000;
}

.nav-item:hover .dropdown,
.dropdown:hover {
    display: block !important;
}

.dropdown li {
    list-style: none;
}

.dropdown a {
    display: block;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
    font-family: 'Arapey', 'Times New Roman', serif !important;
}

.dropdown a:hover {
    background-color: #f5f5f5;
}

/* Slider Styles */
.slider-container {
    position: relative;
    width: 100%;
    max-height: 40vh;
    overflow: hidden;
    background-color: #f5f5f5;
    cursor: grab;
    user-select: none;
}

.slider-container:active {
    cursor: grabbing;
}

.slider {
    display: flex;
    gap: 5px;
    height: 100%;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.slider img {
    flex-shrink: 0;
    width: calc(50% - 2.5px);
    height: 100%;
    max-height: 40vh;
    object-fit: cover;
    display: block;
    pointer-events: none;
    user-select: none;
}

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

.content-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.content-section h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #cccccc;
    font-weight: 400;
    letter-spacing: 0.1em;
    font-family: 'Arapey', serif;
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: stretch;
    margin-top: 3rem;
}

.column-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.column-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background-color: #f5f5f5;
}

.column-right h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #999999;
    font-weight: 400;
    font-family: 'Arapey', serif;
}

.column-right p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #999999;
    margin-bottom: 2rem;
    font-family: 'Arapey', serif;
}

.btn-outline {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: 2px solid #999999;
    color: #999999;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: Arial, sans-serif;
}

.btn-outline:hover {
    background-color: #333;
    color: #ffffff;
}

.page-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
}

.page-description {
    font-size: 1.1rem;
    text-align: center;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }
    
    .nav-item {
        text-align: center;
    }
    
    .dropdown {
        position: static;
        box-shadow: none;
        border: none;
        border-top: 1px solid #e5e5e5;
        margin-top: 0.5rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .content-section h1 {
        font-size: 1.75rem;
    }
    
    .two-column {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .column-right {
        padding: 1rem;
    }
    
    .column-right h2 {
        font-size: 1.5rem;
    }
}

/* Three Column Section */
.three-column-section {
    padding: 4rem 2rem;
    background-color: #ffffff;
}

.three-column {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.column-block {
    text-align: center;
    padding: 0 1rem;
}

.column-block h3 {
    font-size: 1.2rem;
    font-weight: 400;
    color: #cccccc;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    font-family: Arial, sans-serif;
}

.column-block .subtitle {
    font-size: 0.9rem;
    color: #cccccc;
    font-style: italic;
    font-family: 'Arapey', serif;
    line-height: 1.4;
    margin: 0;
}

.divider-line {
    width: 100%;
    height: 1px;
    background-color: #eeeeee;
    margin: 2rem 0;
}

.quote-section {
    text-align: center;
    padding: 2rem 0;
}

.quote-section blockquote {
    font-size: 1.1rem;
    color: #999999;
    font-family: 'Arapey', serif;
    line-height: 1.6;
    font-style: italic;
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive adjustments for three-column section */
@media (max-width: 768px) {
    .three-column {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .column-block {
        padding: 0;
    }
    
    .three-column-section {
        padding: 3rem 1rem;
    }
}

/* Instagram Feed Section */
.instagram-section {
    padding: 4rem 2rem;
    background-color: #ffffff;
    text-align: center;
}

.instagram-header {
    margin-bottom: 3rem;
}

.instagram-header h2 {
    font-size: 1.8rem;
    font-weight: 400;
    color: #d4a574;
    font-family: 'Georgia', serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.instagram-handle {
    font-size: 1.1rem;
    color: #d4a574;
    font-family: 'Georgia', serif;
    margin: 0;
}

.instagram-grid {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 3rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    height: 200px; /* Fixed height for Instagram embed */
    overflow: hidden; /* Hide overflow for embed */
}

/* Instagram embed specific styles */
.instagram-grid iframe {
    transform: scale(0.8) translateY(-100px) !important;
    transform-origin: top center !important;
    width: 100% !important;
    height: 400px !important;
    border: none !important;
}

/* Override Instagram's internal grid layout */
.instagram-grid iframe body {
    margin: 0 !important;
    padding: 0 !important;
}

/* Force horizontal layout on Instagram content */
.instagram-grid iframe [class*="_a9-"] {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    height: 200px !important;
}

.instagram-grid iframe [class*="_a9-"] > div {
    flex-shrink: 0 !important;
    width: 150px !important;
    height: 150px !important;
    margin-right: 5px !important;
}

.instagram-item {
    width: 150px;
    height: 150px;
    overflow: hidden;
    position: relative;
}

.instagram-item a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    cursor: pointer;
}

.instagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.instagram-item:hover img {
    transform: scale(1.05);
    opacity: 0.9;
}

/* SnapWidget Integration */
.snapwidget-widget {
    width: 100% !important;
    min-height: 340px;
    border: none !important;
    overflow: hidden;
    border-radius: 4px;
}

.copyright {
    margin-top: 2rem;
}

.copyright p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    font-family: Arial, sans-serif;
}

/* Responsive Instagram Grid */
@media (max-width: 768px) {
    .instagram-grid {
        gap: 3px;
        justify-content: flex-start;
    }
    
    .instagram-item {
        width: 120px;
        height: 120px;
        flex-shrink: 0;
    }
    
    .instagram-header h2 {
        font-size: 1.5rem;
    }
    
    .instagram-handle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .instagram-item {
        width: 100px;
        height: 100px;
    }
}

/* About Page Specific Styles */
.about-hero {
    text-align: center;
    padding: 3rem 2rem 1rem;
    background-color: #ffffff;
}

.tagline {
    font-size: 1.2rem;
    font-weight: 400;
    color: #999999;
    letter-spacing: 0.2em;
    font-family: Arial, sans-serif;
    text-transform: uppercase;
    margin: 0;
}

.intro-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem 1rem;
}

.intro-lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
    font-family: 'Arapey', serif;
    margin: 0;
}

.intro-lead em {
    font-style: italic;
}

.intro-lead strong {
    font-weight: 400;
    font-size: 1.3rem;
}

.about-bio {
    background-color: #f5f5f5;
    padding: 3rem 2.5rem;
}

.about-bio h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #666;
    font-weight: 400;
    font-family: 'Arapey', serif;
    font-style: italic;
}

.about-bio .about-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    font-weight: 400;
    font-family: 'Arapey', serif;
}

.about-bio p {
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1rem;
    font-family: 'Arapey', serif;
}

.about-bio p:last-child {
    margin-bottom: 0;
}

.about-bio strong {
    font-weight: 400;
    color: #666;
}

.about-bio em {
    font-style: italic;
}

/* Quote Full Section */
.quote-full-section {
    text-align: center;
    padding: 4rem 2rem;
    background-color: #ffffff;
}

.large-quote {
    font-size: 1.3rem;
    color: #999999;
    font-family: 'Arapey', serif;
    line-height: 1.8;
    font-style: italic;
    margin: 0;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
}

/* Philosophy Section */
.philosophy-section {
    padding: 2rem 1rem 4rem;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.philosophy-item {
    text-align: center;
}

.philosophy-item p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    font-family: 'Arapey', serif;
    margin: 0;
}

.philosophy-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    font-family: 'Arapey', serif;
    margin-bottom: 1.5rem;
}

.philosophy-text p:last-child {
    margin-bottom: 0;
}

.philosophy-text strong {
    font-weight: 400;
    color: #666;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 3rem 2rem;
    background-color: #ffffff;
}

.btn-cta {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: transparent;
    border: 2px solid #999999;
    color: #999999;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
    font-family: Arial, sans-serif;
}

.btn-cta:hover {
    background-color: #999999;
    color: #ffffff;
}

/* Responsive Design for About Page */
@media (max-width: 768px) {
    .tagline {
        font-size: 1rem;
        letter-spacing: 0.15em;
    }
    
    .intro-lead {
        font-size: 1.1rem;
    }
    
    .intro-lead strong {
        font-size: 1.2rem;
    }
    
    .about-bio {
        padding: 2rem 1.5rem;
    }
    
    .about-bio h2 {
        font-size: 1.6rem;
    }
    
    .about-bio .about-subtitle {
        font-size: 1rem;
    }
    
    .large-quote {
        font-size: 1.1rem;
    }
    
    .quote-full-section {
        padding: 3rem 1.5rem;
    }
    
    .philosophy-section {
        padding: 2rem 1rem 3rem;
    }
    
    .philosophy-item p,
    .philosophy-text p {
        font-size: 1rem;
    }
    
    .btn-cta {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
    }
}

