/*
Page Default
Earthy Gold/Bronze
*/


:root {
    --color-bg: #F9F7F2;
    --color-text: #2C2C2C;
    --color-primary: #A67C52;
    --color-primary-dark: #8a6542;
    --color-secondary: #2e2a25;
    --color-light: #fff;
    --color-border: #e0d5c0;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3,
.logo {
    font-family: var(--font-heading);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(249, 247, 242, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(224, 213, 192, 0.5);
    z-index: 999;
    transition: all 0.3s ease;
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    color: var(--color-secondary);
}

.logo img {
    height: 45px;
    width: 45px;
    object-fit: contain;
    border-radius: 50%;
}

/* Nav Links */
.nav-links {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 400;
}

.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile Mobile Menu Styles */

@media (max-width: 768px) {
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        font-size: 0.75rem;
    }
}


/* Hero */
.hero {
    min-height: 100vh;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)),
    url("img/header/header_bg.jpeg") center/cover no-repeat;
    background-attachment: fixed;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1.5rem;
    position: relative;
}

.hero-inner {
    max-width: 800px;
    margin-top: 60px;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    font-weight: 300;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-sub {
    font-style: italic;
    font-family: var(--font-heading);
    font-size: 1.4rem !important;
    opacity: 0.95;
    text-align: center;
    margin-bottom: 2.5rem !important;
}
#head-sub2{
    text-align: center;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 2px;
    /* More elegant than pill */
    border: 1px solid var(--color-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background: var(--color-primary);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 400;
}

.btn:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(166, 124, 82, 0.3);
}

.btn-outline {
    background: transparent;
    border-color: #fff;
    color: #fff;
}

.btn-outline:hover {
    background: #fff;
    color: var(--color-secondary);
    border-color: #fff;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
    border-bottom: 1px solid var(--color-border);
}

section:last-child {
    border-bottom: none;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--color-primary);
    text-align: center;
    font-weight: 400;
}

.section-intro {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}


.grid-2.reverse>* {
    direction: ltr;
}

/* Images */

.img-frame img {
    width: 100%;
    height: auto;
    transition: transform 0.7s ease;
}

.img-frame:hover img {
    transform: scale(1.03);
}

/* Lists */
ul {
    list-style: none;
    margin-top: 1.5rem;
}

li {
    margin-bottom: 0.15rem;
    padding-left: 1.5rem;
    position: relative;
}

li::before {
    content: '•';
    color: var(--color-primary);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1;
}

/* Section Photos & Animations */
.section-photos {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.section-photos img {
    flex: 1 1 0;
    height: 260px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.section-photos img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Gallery Carousel Styles */
.carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 3rem auto 0;
    padding: 0 1rem;
}

.carousel-container {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    width: 100%;
    transition: transform 0.6s ease;
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 100%;
    /* Mobile: 1 slide */
    padding: 0 0.5rem;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

.carousel-slide figure {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #fff;
    box-shadow: var(--shadow-sm);
    border-radius: 4px;
    overflow: hidden;
    height: 300px;
    transition: transform 0.3s ease;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
}

.carousel-slide figure:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* Desktop: 3 slides */
@media (min-width: 769px) {
    .carousel-slide {
        flex: 0 0 33.333%;
    }
}

/* Tablet: 2 slides */
@media (min-width: 601px) and (max-width: 768px) {
    .carousel-slide {
        flex: 0 0 50%;
    }
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--color-border);
    color: var(--color-primary);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.carousel-btn.prev {
    left: -1rem;
}

.carousel-btn.next {
    right: -1rem;
}

@media (max-width: 768px) {
    .carousel-btn.prev {
        left: 0;
    }

    .carousel-btn.next {
        right: 0;
    }

    .carousel-btn {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.2rem;
        background: rgba(255, 255, 255, 0.95);
    }
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.carousel-dot.active {
    background: var(--color-primary);
    transform: scale(1.2);
}

/* Lightbox / Image preview carousel */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 9999;
}

.lightbox.open {
    display: flex;
}

.lightbox-inner {
    position: relative;
    max-width: min(900px, 100vw - 3rem);
    max-height: 90vh;
    width: 100%;
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.lightbox-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(90vh - 4rem);
    border-radius: 8px;
    object-fit: contain;
}

.lightbox-caption {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    color: #f5f5f5;
    text-align: center;
    font-family: var(--font-heading);
    font-style: italic;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
    position: fixed;
    top: 1rem;
    right: 1.5rem;
    border: none;
    background: transparent;
    font-size: 2.2rem;
    line-height: 1;
    cursor: pointer;
    color: #f0f0f0;
    z-index: 10000;
}

.lightbox-close:hover {
    color: #ffffff;
}

.lightbox-prev,
.lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 2.2rem;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.lightbox-prev {
    left: 1.2rem;
}

.lightbox-next {
    right: 1.2rem;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(0, 0, 0, 0.7);
}


@media (max-width: 600px) {
    .lightbox-inner {
        padding: 0;
        max-width: calc(100vw - 2rem);
        max-height: 90vh;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 1.8rem;
        width: 2.2rem;
        height: 2.2rem;
    }
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    background: #fff;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

form {
    display: grid;
    gap: 1.25rem;
}

label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #666;
    margin-bottom: 0.25rem;
    display: block;
}

input,
textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 2px;
    border: 1px solid #ddd;
    background: #FAFAFA;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: #fff;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

/* Contact Info Card */
.contact-info-card {
    margin-top: 2rem;
    padding: 2rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--color-primary);
}

/* Footer */
footer {
    background: var(--color-secondary);
    color: #eee2c8;
    padding: 3rem 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    margin-top: 4rem;
}
p{
    text-align: justify;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: block;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .grid-2 {
        gap: 3rem;
    }

    .contact-grid {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 1rem 1.5rem;
        flex-direction: column;
    }

    .grid-2,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-grid {
        padding: 1.5rem;
    }

    .contact-info-card {
        padding: 1.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    section {
        padding: 4rem 0;
    }

    main {
        padding: 0 1.5rem;
    }

    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    /* Horizontal Carousel for Photos on Mobile */
    .section-photos {
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        gap: 1rem;
        padding-bottom: 0.5rem;
        /* Space for scrollbar */
        scroll-snap-type: x mandatory;
    }

    .section-photos::-webkit-scrollbar {
        display: none;
    }

    .section-photos {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .section-photos img {
        flex: 0 0 85%;
        width: 85%;
        max-width: 85%;
        height: 260px;
        /* Keep height consistent */
        margin-right: 0;
        /* Gap handled by parent gap */
        scroll-snap-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-sub {
        font-size: 1.2rem !important;
    }


    .hero p {
        font-size: 1rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .tagline {
        font-size: 1.25rem;
    }

    .buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        padding: 0.9rem 2rem;
    }

    .nav-links {
        gap: 0.75rem;
        font-size: 0.75rem;
    }

    .logo {
        font-size: 1rem;
    }

    .logo img {
        height: 35px;
        width: 35px;
    }

    section {
        padding: 3rem 0;
    }

    main {
        padding: 0 1rem;
    }

    .contact-grid {
        padding: 1rem;
    }

    .contact-info-card {
        padding: 1.25rem;
    }

    .gallery {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .gallery img {
        height: 200px;
    }
}