@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Crimson+Text:wght@400;600&family=Dancing+Script:wght@700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Crimson Text', serif;
}

img,
video,
iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

.container,
body,
html {
    width: 100%;
    margin: 0;
    padding: 0;
}
:root {
    --primary-dark: #1a0f0a;
    --secondary-dark: #2d1810;
    --accent-gold: #d4af37;
    --light-gold: #f4e7c1;
    --warm-brown: #4a2c17;
    --deep-brown: #3d1a00;
    --vintage-cream: #f5f1e8;
    --shadow-dark: rgba(0, 0, 0, 0.8);
    --gradient-gold: linear-gradient(135deg, #d4af37, #f4e7c1, #d4af37);
}

body {
    max-width: 100%;
}

body {
    font-family: 'Crimson Text', serif;
    background: linear-gradient(135deg, #2c1810 0%, #1a0f08 50%, #0f0704 100%);
    color: #d4af37;
    line-height: 1.8;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Section */
.header {
    text-align: center;
    padding: 80px 0;
    background: radial-gradient(circle at center, #3d2817 0%, #2c1810 70%);
    position: relative;
    overflow: hidden;
}
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 40px;
    height: 40px;
   
    margin-right: 10px;
}
.logo img {
    max-width: 150px;
    /* default size on desktop */
    height: 170px;
    /* keeps aspect ratio */
    border-radius: 20%;
   
}
.nav-container {
    padding: 0.5rem 2rem;
}

/* smaller logo on mobiles */
@media (max-width: 768px) {
    .logo img {
        max-width: 100px;
    }
}

/* even smaller on very small screens */
@media (max-width: 480px) {
    .logo img {
        max-width: 80px;
    }
}


.logo {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-gold);
    text-shadow: 2px 2px 4px var(--shadow-dark);
    transform: translateZ(20px);
    transition: all 0.3s ease;
}

.logo:hover {
    transform: translateZ(30px) scale(1.05);
    text-shadow: 4px 4px 8px var(--shadow-dark);
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 15, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transform-style: preserve-3d;
    box-shadow: 0 10px 30px var(--shadow-dark);
}

nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-gold);
    opacity: 0.1;
    transform: translateZ(-1px);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    transform-style: preserve-3d;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 40px;
    height: 40px;
   
    margin-right: 10px;
}

.logo img {
    max-width: 150px;
    /* default size on desktop */
    height: 20px;
    /* keeps aspect ratio */
}

.nav-container {
    padding: 0.5rem 2rem;
}

/* smaller logo on mobiles */
@media (max-width: 768px) {
    .logo img {
        max-width: 100px;
    }
}

/* even smaller on very small screens */
@media (max-width: 480px) {
    .logo img {
        max-width: 80px;
    }
}


.logo {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-gold);
    text-shadow: 2px 2px 4px var(--shadow-dark);
    transform: translateZ(20px);
    transition: all 0.3s ease;
}

.logo:hover {
    transform: translateZ(30px) scale(1.05);
    text-shadow: 4px 4px 8px var(--shadow-dark);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    color: var(--vintage-cream);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    position: relative;
}

.nav-links li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-gold);
    opacity: 0;
    border-radius: 8px;
    transform: translateZ(-1px);
    transition: all 0.3s ease;
}

.nav-links li a:hover {
    color: var(--primary-dark);
    transform: translateZ(10px);
}

.nav-links li a:hover::before {
    opacity: 1;
}
.header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(45deg,
            transparent,
            transparent 2px,
            rgba(212, 175, 55, 0.03) 2px,
            rgba(212, 175, 55, 0.03) 4px);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 900;
    color: #d4af37;
    text-shadow:
        0 0 20px rgba(212, 175, 55, 0.5),
        0 0 40px rgba(212, 175, 55, 0.3),
        0 10px 30px rgba(0, 0, 0, 0.8);
    transform: perspective(1000px) rotateX(15deg);
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.header .subtitle {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    color: #b8860b;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.ornament {
    width: 300px;
    height: 2px;
    background: linear-gradient(to right, transparent, #d4af37, transparent);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.ornament::before,
.ornament::after {
    content: '♦';
    position: absolute;
    top: -8px;
    color: #d4af37;
    font-size: 1.2rem;
}

.ornament::before {
    left: -20px;
}

.ornament::after {
    right: -20px;
}

/* Section Styles */
.section {
    padding: 100px 0;
    position: relative;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.section:nth-child(even) {
    background: linear-gradient(135deg, #1a0f08 0%, #2c1810 100%);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #d4af37;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    transform: perspective(800px) rotateY(-5deg);
    text-shadow:
        0 5px 15px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(212, 175, 55, 0.3);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 3px;
    background: linear-gradient(to right, transparent, #d4af37, transparent);
}

.content-card {
    background: linear-gradient(145deg, #3d2817, #2c1810);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 15px;
    padding: 40px;
    margin: 30px 0;
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.4),
        0 5px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(212, 175, 55, 0.1);
    transform: perspective(1000px) rotateX(2deg);
    transition: all 0.3s ease;
}

.content-card:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-5px);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.6),
        0 10px 25px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(212, 175, 55, 0.2);
}

.content-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #d4af37;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.content-card p {
    font-size: 1.1rem;
    color: #c9a96e;
    margin-bottom: 15px;
    text-align: justify;
}

/* Story Section */
.story-timeline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 60px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 30px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
    border-radius: 10px;
    border-left: 4px solid #d4af37;
    transform: perspective(1000px) rotateY(1deg);
}

.timeline-year {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #d4af37;
    text-align: center;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.timeline-content h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #d4af37;
    margin-bottom: 15px;
}

/* Ambience Section */
.ambience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.ambience-item {
    background: linear-gradient(145deg, #2c1810, #1a0f08);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    transform: perspective(800px) rotateX(5deg);
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(212, 175, 55, 0.1);
}

.ambience-item h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #d4af37;
    margin-bottom: 15px;
    text-align: center;
}

.image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #3d2817, #2c1810);
    border: 2px dashed rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b8860b;
    font-style: italic;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.team-member {
    background: linear-gradient(145deg, #3d2817, #2c1810);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transform: perspective(1000px) rotateY(-2deg);
    box-shadow:
        0 15px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid #d4af37;
    margin-bottom: 20px;
}

.team-member h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #d4af37;
    margin-bottom: 10px;
}

.team-role {
    font-style: italic;
    color: #b8860b;
    margin-bottom: 15px;
}

/* Awards Section */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.award-item {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(184, 134, 11, 0.05));
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    text-align: center;
    transform: perspective(800px) rotateX(-3deg);
    position: relative;
    overflow: hidden;
}

.award-item::before {
    content: '★';
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    color: #d4af37;
    opacity: 0.3;
}

.award-year {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #d4af37;
    margin-bottom: 10px;
}

.award-title {
    font-size: 1.2rem;
    color: #c9a96e;
    font-weight: 600;
    margin-bottom: 10px;
}

.award-org {
    font-style: italic;
    color: #b8860b;
}

/* Philosophy Section */
.philosophy-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.philosophy-item {
    background: linear-gradient(145deg, #2c1810, #1a0f08);
    padding: 35px;
    border-radius: 15px;
    border-left: 5px solid #d4af37;
    transform: perspective(1000px) rotateY(2deg);
    box-shadow:
        0 12px 25px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(212, 175, 55, 0.1);
}

.philosophy-icon {
    font-size: 3rem;
    color: #d4af37;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

/* Community Section */
.community-events {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.event-card {
    background: linear-gradient(135deg, #3d2817, #2c1810);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    text-align: center;
    transform: perspective(800px) rotateX(3deg);
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: perspective(800px) rotateX(0deg) translateY(-3px);
}

.event-date {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #d4af37;
    margin-bottom: 10px;
}

.event-title {
    font-size: 1.1rem;
    color: #c9a96e;
    font-weight: 600;
}

/* Sustainability Section */
.sustainability-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.sustainability-item {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(60, 40, 23, 0.8));
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transform: perspective(600px) rotateY(-1deg);
}

.sustainability-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #4ade80;
}

.sustainability-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #d4af37;
    margin-bottom: 10px;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.testimonial {
    background: linear-gradient(145deg, #3d2817, #2c1810);
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid #d4af37;
    position: relative;
    transform: perspective(800px) rotateX(-2deg);
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: #d4af37;
    opacity: 0.3;
    font-family: serif;
}

.testimonial-text {
    font-style: italic;
    color: #c9a96e;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    text-align: right;
    color: #d4af37;
    font-weight: 600;
}

/* Closing Section */
.closing {
    background: linear-gradient(135deg, #2c1810 0%, #1a0f08 50%, #0f0704 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.closing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
}

.closing-content {
    position: relative;
    z-index: 2;
}

.closing h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: #d4af37;
    margin-bottom: 30px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.closing-text {
    font-size: 1.3rem;
    color: #c9a96e;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 2;
}

.visit-cta {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #d4af37, #b8860b);
    color: #1a0f08;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.3),
        0 5px 15px rgba(212, 175, 55, 0.2);
    transform: perspective(500px) rotateX(-5deg);
    transition: all 0.3s ease;
}

.visit-cta:hover {
    transform: perspective(500px) rotateX(0deg) translateY(-3px);
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.4),
        0 8px 20px rgba(212, 175, 55, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header h1 {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .ambience-grid,
    .philosophy-items,
    .testimonials-grid,
    .awards-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .community-events,
    .sustainability-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 2.5rem;
    }

    .team-grid,
    .community-events,
    .sustainability-grid {
        grid-template-columns: 1fr;
    }
}