:root {
    --color-dark: #252222;
    --color-cream: #eeeed6;
    --color-white: #ffffff;
    --color-text-light: rgba(255, 255, 255, 0.9);
    --color-text-muted: rgba(255, 255, 255, 0.7);
    --font-heading: "Overpass", sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --radius: 8px;
    --transition: 0.3s ease;
    --section-padding: 2rem;
}

html, body {
    height: calc(var(--vh, 1vh) * 100);
    overflow: hidden;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-dark);
    color: var(--color-white);
}

.screen {
    overflow: scroll;
    height: calc(var(--vh, 1vh) * 100);
    scroll-snap-type: y mandatory;
    scroll-padding: 0;
}

.screen > section {
    scroll-snap-align: start;
    position: relative;
    height: calc(var(--vh, 1vh) * 100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.centre {
    text-align: center;
    position: relative;
}

.left {
    text-align: left;
}

.logo {
    width: 80px;
    height: auto;
    margin-bottom: 7rem;
    opacity: 0.95;
}

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

.centre > p {
    font-size: 0.9rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    font-weight: 200;
    color: var(--color-text-light);
}

.scroll-down {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 10px;
    transition: color var(--transition), transform var(--transition);
}

.scroll-down:hover {
    color: var(--color-text-light);
    transform: translateX(-50%) translateY(5px);
}

/* Gallery Section */
.gallery-section {
    background-color: var(--color-cream);
    color: var(--color-dark);
}

.gallery-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 300;
    letter-spacing: -.01em;
}

.gallery-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.gallery {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.gallery::-webkit-scrollbar {
    display: none;
}

.gallery img {
    flex: 0 0 100vw;
    width: 100vw;
    height: calc(var(--vh, 1vh) * 80);
    object-fit: contain;
    scroll-snap-align: center;
    cursor: pointer;
}

/* Gallery tap zones */
.gallery-tap-zone {
    position: absolute;
    top: 0;
    height: 100%;
    width: 50%;
    z-index: 2;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    outline: none;
}

.gallery-tap-zone--left {
    left: 0;
}

.gallery-tap-zone--right {
    right: 0;
}

/* Gallery counter */
.gallery-counter {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px 0;
    position: absolute;
    bottom: 1.5vh;
    left: 0;
    right: 0;
    z-index: 3;
    pointer-events: none;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(37, 34, 34, 0.3);
    border: none;
    padding: 0;
    cursor: pointer;
    pointer-events: auto;
    transition: background var(--transition), transform var(--transition);
}

.gallery-dot.active {
    background: var(--color-dark);
    transform: scale(1.3);
}

/* Gallery Selection Grid */
.gallery-selection {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    overflow-y: auto;
    max-height: 90vh;
    scrollbar-width: none;
    padding: 2rem 0;
}

.gallery-selection::-webkit-scrollbar {
    display: none;
}

.gallery-selection.hidden,
.gallery-container.hidden,
.gallery-counter.hidden {
    display: none;
}

.gallery-card {
    background: var(--color-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.gallery-card img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    display: block;
}

.gallery-card-title {
    font-family: var(--font-heading);
    color: var(--color-dark);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 600;
}

/* Gallery Home Button */
.gallery-home {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    pointer-events: auto;
    transition: transform var(--transition);
    font-size: 0;
    position: relative;
}

.gallery-home::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    background: url('logo.png') center / contain no-repeat;
    opacity: 0.5;
}

.gallery-home:hover {
    transform: scale(1.3);
}

.gallery-home:hover::after {
    opacity: 1;
}

/* About Section */
.about-section {
    background-color: var(--color-cream);
    color: var(--color-dark);
}

.content-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--section-padding);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.6;
}

.about-content p {
    margin-bottom: 1.5rem;
}

.about-link {
    color: var(--color-dark);
    text-decoration: none;
    border-bottom: 2px solid var(--color-dark);
    padding-bottom: 1px;
    transition: opacity var(--transition);
}

.about-link:hover {
    opacity: 0.6;
}

.sayso-card {
    background: var(--color-white);
    border-radius: var(--radius);
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.sayso-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.sayso-card p {
    margin-bottom: 1rem;
    color: rgba(37, 34, 34, 0.8);
}

.sayso-card a {
    display: inline-block;
    color: var(--color-dark);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid var(--color-dark);
    padding-bottom: 2px;
    transition: opacity var(--transition);
}

.sayso-card a:hover {
    opacity: 0.7;
}

/* Footer Section */
.footer-section {
    scroll-snap-align: start;
    background-color: var(--color-dark);
    min-height: 60vh !important;
    height: auto !important;
    padding: 4rem 0 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-content {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

.footer-info address {
    font-style: normal;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all var(--transition);
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--color-white);
    transition: width var(--transition);
}

.footer-links a:hover {
    color: var(--color-white);
}

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

.footer-contact {
    text-align: left;
}

.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: all var(--transition);
}

.social-links a:hover {
    color: var(--color-white);
    transform: translateY(-2px);
}

.newsletter h4 {
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
    font-size: 0.9rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    padding: 0.8rem 1.5rem;
    background: var(--color-white);
    border: none;
    border-radius: 4px;
    color: var(--color-dark);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.newsletter-form button:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.footer-bottom {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-nav {
        grid-template-columns: 1fr 1fr;
    }
}
