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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, rgba(255, 179, 71, 0.3) 0%, rgba(255, 126, 95, 0.3) 100%), url('background_pic.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Password Screen */
.password-screen {
    display: none;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
}

.password-screen.show {
    display: flex;
}

.password-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.password-card h1 {
    color: #ff8c42;
    margin-bottom: 20px;
    font-size: 2.5em;
}

.password-card .subtitle {
    color: #666;
    font-size: 1.2em;
    margin-bottom: 5px;
    margin-top: -10px;
    font-weight: normal;
}

.password-card p {
    margin-bottom: 30px;
    color: #666;
    font-size: 1.1em;
}

.password-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1.1em;
    margin-bottom: 20px;
    outline: none;
    transition: border-color 0.3s;
}

.password-input:focus {
    border-color: #ff8c42;
}

.password-btn {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    cursor: pointer;
    transition: transform 0.3s;
}

.password-btn:hover {
    transform: translateY(-2px);
}

.error-message {
    color: #e74c3c;
    margin-top: 10px;
    display: none;
}

/* Main Website */
.main-content {
    display: none;
}

.logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    width: 100%;
    overflow: hidden;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    width: 100%;
    justify-content: center;
}

.page-title {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.logo-image {
    height: 360px;
    width: auto;
    max-width: 100%;
    opacity: 0.8;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1.5em;
    transition: color 0.3s;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.nav-links a:hover,
.nav-links a.active,
.gallery-link:hover {
    color: #ff8c42;
}

.gallery-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1.5em;
    transition: color 0.3s;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 10px 20px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: none;
}

.page.active {
    display: block;
}

.hero {
    text-align: center;
    margin-bottom: 50px;
}

.hero h1 {
    font-size: 2.8em;
    color: #ff8c42;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: 1.3em;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feature {
    background: linear-gradient(135deg, #ff8c42 0%, #ff7e5f 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transform: translateY(0);
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature h3 {
    font-size: 1.4em;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature p {
    font-size: 1.1em;
    line-height: 1.6;
}

.gallery-container {
    text-align: center;
}

.gallery-embed {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.gallery-note {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #ff8c42;
    margin-bottom: 20px;
}

.gallery-note h3 {
    color: #ff8c42;
    margin-bottom: 10px;
}

.gallery-note p {
    color: #666;
    line-height: 1.6;
}

.info-section {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.info-section h2 {
    font-size: 1.8em !important;
    color: #ff8c42;
    margin-bottom: 20px;
    font-weight: 600;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.info-section p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

blockquote {
    border-left: 4px solid #ff8c42 !important;
}

.gallery-container h1,
.gallery-container h2 {
    color: #ff8c42 !important;
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 10px;
    }

    .page {
        padding: 20px 15px;
        margin: 10px;
    }

    .logo-image {
        height: 200px;
        max-width: 100%;
        width: auto;
    }

    .page-title {
        font-size: 2em;
        margin-bottom: 10px;
    }

    .gallery-link {
        font-size: 1.2em;
        padding: 8px 16px;
    }

    .hero p {
        font-size: 1.1em;
        line-height: 1.5;
        padding: 0 10px;
    }

    .info-section {
        padding: 20px 15px;
        margin-bottom: 20px;
    }

    .info-section h2 {
        font-size: 1.5em !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }

    .info-section ul {
        margin-left: 15px;
    }

    .info-section li {
        font-size: 1em;
        line-height: 1.6;
        margin-bottom: 8px;
    }

    blockquote {
        font-size: 1.1em !important;
        padding-left: 15px !important;
        margin: 30px 10px !important;
    }

    .gallery-container h2 {
        font-size: 1.8em !important;
        margin-bottom: 20px !important;
    }

    .gallery-container a {
        font-size: 1.2em !important;
        padding: 15px 25px !important;
    }

    .password-card {
        padding: 30px 20px;
        margin: 20px;
        max-width: 90%;
    }

    .password-card h1 {
        font-size: 2em;
    }

    .password-card p {
        font-size: 1em;
    }

    .password-input {
        padding: 12px;
        font-size: 1em;
    }

    .password-btn {
        padding: 12px 25px;
        font-size: 1em;
    }
}

/* ==== Google-Photos grid ==== */
#alb-title{
    font-size:2.5em;
    color:#ff8c42;
    margin:40px 0 20px;
    text-align:center;
}

#gallery{
    display:grid;
    gap:16px;
    grid-template-columns:repeat(auto-fill,minmax(250px,1fr));
    padding-bottom:40px;
}

#gallery img{
    width:100%;
    aspect-ratio: 1 / 1;
    object-fit:cover;
    object-position: center;
    border-radius:12px;
    box-shadow:0 4px 15px rgba(0,0,0,.15);
    transition:transform .3s ease;
}

#gallery img:hover{transform:scale(1.04);}

/* View All Tile Styles */
.view-all-tile {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,.15);
    transition: transform .3s ease;
    cursor: pointer;
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.view-all-tile:hover {
    transform: scale(1.04);
}

.view-all-content {
    text-align: center;
    color: white;
    font-weight: bold;
    z-index: 2;
}

.view-all-text {
    display: block;
    font-size: 1.2em;
    margin-bottom: 8px;
    font-weight: 600;
}

.view-all-count {
    display: block;
    font-size: 0.9em;
    opacity: 0.9;
}

.view-all-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.3"/><circle cx="80" cy="30" r="1.5" fill="white" opacity="0.2"/><circle cx="50" cy="70" r="1" fill="white" opacity="0.4"/><circle cx="30" cy="80" r="1.5" fill="white" opacity="0.3"/><circle cx="70" cy="20" r="1" fill="white" opacity="0.2"/></svg>');
    background-size: 100px 100px;
    z-index: 1;
}

@media (max-width:768px){
    #gallery{
        grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
    }
    #gallery img{
        aspect-ratio: 1 / 1;
    }
    .view-all-tile {
        /* Remove fixed height - aspect-ratio will handle it */
    }
    .view-all-text {
        font-size: 1.1em;
    }
    .view-all-count {
        font-size: 0.85em;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 5px;
    }

    .page {
        padding: 15px 10px;
        margin: 5px;
    }

    .logo-image {
        height: 150px;
        max-width: 100%;
        width: auto;
    }

    .page-title {
        font-size: 1.6em;
    }

    .gallery-link {
        font-size: 1em;
        padding: 6px 12px;
    }

    .hero p {
        font-size: 0.95em;
        padding: 0 5px;
    }

    .info-section {
        padding: 15px 10px;
    }

    .info-section h2 {
        font-size: 1.3em !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }

    .info-section li {
        font-size: 0.9em;
    }

    blockquote {
        font-size: 1em !important;
        padding-left: 10px !important;
        margin: 20px 5px !important;
    }

    .gallery-container h2 {
        font-size: 1.5em !important;
    }

    .gallery-container a {
        font-size: 1em !important;
        padding: 12px 20px !important;
    }

    .password-card {
        padding: 25px 15px;
        margin: 15px;
    }

    .password-card h1 {
        font-size: 1.8em;
    }

    #gallery{
        grid-template-columns:repeat(auto-fill,minmax(150px,1fr));
    }
    
    #gallery img{
        aspect-ratio: 1 / 1;
    }
    
    .view-all-tile {
        /* Remove fixed height - aspect-ratio will handle it */
    }
    
    .view-all-text {
        font-size: 1em;
    }
    
    .view-all-count {
        font-size: 0.8em;
    }
}

/* Photo Modal Styles */
.photo-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.95);
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-y: auto;
}

.modal-image {
    max-width: 90%;
    max-height: 60%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    font-size: 3em;
    color: white;
    cursor: pointer;
    z-index: 10001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: #ff8c42;
    transform: scale(1.1);
}

.modal-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2em;
    padding: 20px;
    cursor: pointer;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
    backdrop-filter: blur(10px);
}

.nav-btn:hover {
    background: rgba(255, 140, 66, 0.8);
    transform: scale(1.1);
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.prev-btn {
    margin-left: 20px;
}

.next-btn {
    margin-right: 20px;
}

/* Desktop modal - bigger images */
@media (min-width: 769px) {
    .modal-image {
        max-width: 100vw;
        max-height: 100vh;
    }
    .modal-content {
        padding: 0;
    }
}

/* Mobile responsiveness for modal */
@media (max-width: 768px) {
    .modal-image {
        max-width: 95%;
        max-height: 85%;
    }
    
    .modal-close {
        top: 10px;
        right: 15px;
        font-size: 2.5em;
        width: 40px;
        height: 40px;
    }
    
    .nav-btn {
        font-size: 1.5em;
        padding: 15px;
        width: 50px;
        height: 50px;
    }
    
    .prev-btn {
        margin-left: 10px;
    }
    
    .next-btn {
        margin-right: 10px;
    }
}

/* Font Hierarchy - Standardization */

/* Main Title - Largest */
.page-title {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

/* Hero Title - Large */
.hero h1 {
    font-size: 2.8em;
    color: #ff8c42;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Section Headings - Medium-Large */
.info-section h2,
.gallery-container h1,
.gallery-container h2,
#alb-title {
    font-size: 1.8em !important;
    color: #ff8c42;
    margin-bottom: 20px;
    font-weight: 600;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

/* Navigation Links - Medium */
.nav-links a,
.gallery-link {
    font-size: 1.2em;
    font-weight: 500;
    transition: color 0.3s;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Feature Headings - Medium */
.feature h3,
.gallery-note h3 {
    font-size: 1.4em;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Body Text - Base Size */
.hero p,
.info-section p,
.feature p,
.gallery-note p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Small Text */
.view-all-text {
    font-size: 1.2em;
    font-weight: 600;
}

.view-all-count {
    font-size: 0.9em;
    opacity: 0.9;
}

/* Responsive Typography */
@media (max-width: 768px) {
    /* Main Title */
    .page-title {
        font-size: 2em;
        margin-bottom: 10px;
    }
    
    /* Hero Title */
    .hero h1 {
        font-size: 2.2em;
    }
    
    /* Section Headings */
    .info-section h2,
    .gallery-container h1,
    .gallery-container h2,
    #alb-title {
        font-size: 1.5em !important;
    }
    
    /* Navigation Links */
    .nav-links a,
    .gallery-link {
        font-size: 1.1em;
        padding: 8px 16px;
    }
    
    /* Feature Headings */
    .feature h3,
    .gallery-note h3 {
        font-size: 1.2em;
    }
    
    /* Body Text */
    .hero p,
    .info-section p,
    .feature p,
    .gallery-note p {
        font-size: 1em;
        line-height: 1.5;
        padding: 0 10px;
    }
    
    /* Small Text */
    .view-all-text {
        font-size: 1.1em;
    }
    
    .view-all-count {
        font-size: 0.85em;
    }
}

@media (max-width: 480px) {
    /* Main Title */
    .page-title {
        font-size: 1.6em;
    }
    
    /* Hero Title */
    .hero h1 {
        font-size: 1.8em;
    }
    
    /* Section Headings */
    .info-section h2,
    .gallery-container h1,
    .gallery-container h2,
    #alb-title {
        font-size: 1.3em !important;
    }
    
    /* Navigation Links */
    .nav-links a,
    .gallery-link {
        font-size: 1em;
        padding: 6px 12px;
    }
    
    /* Feature Headings */
    .feature h3,
    .gallery-note h3 {
        font-size: 1.1em;
    }
    
    /* Body Text */
    .hero p,
    .info-section p,
    .feature p,
    .gallery-note p {
        font-size: 0.95em;
        padding: 0 5px;
    }
    
    /* Small Text */
    .view-all-text {
        font-size: 1em;
    }
    
    .view-all-count {
        font-size: 0.8em;
    }
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    /* Hide desktop navigation on mobile */
    .desktop-nav {
        display: none !important;
    }
    
    /* Show hamburger menu on mobile */
    .mobile-nav-toggle {
        display: block !important;
        position: fixed;
        top: 20px;
        left: 20px;
        z-index: 1001;
        background: rgba(255, 255, 255, 0.95);
        border: none;
        border-radius: 8px;
        padding: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(10px);
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .mobile-nav-toggle:hover {
        background: rgba(255, 255, 255, 0.98);
        transform: scale(1.05);
    }
    
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 4px;
        width: 20px;
        height: 16px;
    }
    
    .hamburger span {
        width: 100%;
        height: 2px;
        background: #555;
        transition: all 0.3s ease;
        border-radius: 1px;
    }
    
    /* Hamburger animation when active */
    .mobile-nav-toggle.active .hamburger span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-nav-toggle.active .hamburger span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-nav-toggle.active .hamburger span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Mobile navigation menu */
    .mobile-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        z-index: 1000;
        transition: left 0.3s ease;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .mobile-nav.active {
        left: 0;
    }
    
    .mobile-nav nav {
        display: flex;
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .mobile-nav a {
        color: #555;
        text-decoration: none;
        font-size: 1.5em;
        font-weight: 500;
        padding: 15px 30px;
        border-radius: 8px;
        transition: all 0.3s ease;
        background: rgba(255, 140, 66, 0.05);
    }
    
    .mobile-nav a:hover {
        background: rgba(255, 140, 66, 0.15);
        color: #ff8c42;
        transform: translateY(-2px);
    }
    
    /* Close button for mobile nav */
    .mobile-nav-close {
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        font-size: 2em;
        color: #555;
        cursor: pointer;
        padding: 10px;
        border-radius: 50%;
        transition: all 0.3s ease;
    }
    
    .mobile-nav-close:hover {
        background: rgba(255, 140, 66, 0.1);
        color: #ff8c42;
    }
}

/* Desktop navigation styles */
@media (min-width: 769px) {
    .mobile-nav-toggle,
    .mobile-nav {
        display: none !important;
    }
    
    .desktop-nav {
        display: block !important;
    }
}


