@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-body: #ffffff;
    --bg-surface: #f8f9fa;
    --bg-card: #ffffff;
    --bg-header: rgba(255, 255, 255, 0.85);
    --text-main: #0f172a;
    --text-muted: #64748b;
    --primary: #0f172a;
    --primary-fg: #ffffff;
    --accent: #3b82f6;
    --border: #e2e8f0;
    --radius: 0px;
    --container-width: 1200px;
    --header-height: 80px;
    --shadow-card: 0 20px 40px rgba(0,0,0,0.06);
}

[data-theme="dark"] {
    --bg-body: #0f172a;
    --bg-surface: #020617;
    --bg-card: #1e293b;
    --bg-header: rgba(15, 23, 42, 0.85);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --primary: #f8fafc;
    --primary-fg: #0f172a;
    --accent: #60a5fa;
    --border: #334155;
    --shadow-card: 0 20px 40px rgba(0,0,0,0.3);
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a { text-decoration: none; color: inherit; transition: all 0.2s ease; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-header);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-main);
}

nav ul { display: flex; gap: 32px; }
nav a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
}
nav a:hover { color: var(--text-main); }

/* Hero */
.hero {
    padding: 180px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle background decoration */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, rgba(255,255,255,0) 70%);
    z-index: -1;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 400;
    line-height: 1.6;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: var(--primary-fg);
    padding: 16px 36px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.3s;
}
.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.15);
}

/* Galleries Grid */
.galleries { padding: 100px 0; background: var(--bg-surface); transition: background-color 0.3s; }
.section-header {
    margin-bottom: 60px;
    text-align: center;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    color: var(--text-main);
}
.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 40px;
}

.gallery-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), background-color 0.3s;
    border: 1px solid var(--border);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card);
}

.gallery-image-wrapper {
    position: relative;
    padding-top: 65%; /* Aspect Ratio */
    overflow: hidden;
    background: var(--bg-surface);
}

.gallery-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-card:hover .gallery-image-wrapper img {
    transform: scale(1.08);
}

.gallery-content { padding: 28px; flex-grow: 1; display: flex; flex-direction: column; }
.gallery-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
    color: var(--text-main);
}
.gallery-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 20px;
}
.gallery-link {
    margin-top: auto;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.gallery-link i { transition: transform 0.2s; }
.gallery-card:hover .gallery-link i { transform: translateX(4px); }

/* Page Content */
.page-section { padding: 160px 0 100px; }
.page-header { text-align: center; margin-bottom: 80px; max-width: 800px; margin-left: auto; margin-right: auto; }
.page-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 20px;
}
.content-wrapper {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Add Full Width Modifier */
.content-wrapper.full-width {
    max-width: 100%;
}

.content-wrapper h2 { font-size: 2rem; margin: 2.5em 0 1em; color: var(--text-main); letter-spacing: -0.03em; font-weight: 700; }
.content-wrapper h3 { font-size: 1.5rem; margin: 2em 0 0.8em; color: var(--text-main); font-weight: 600; }
.content-wrapper p { margin-bottom: 1.5em; }
.content-wrapper img { border-radius: var(--radius); margin: 2.5em 0; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.content-wrapper blockquote {
    border-left: 4px solid var(--accent);
    padding-left: 24px;
    font-style: italic;
    font-size: 1.25rem;
    color: var(--text-main);
    margin: 2.5em 0;
}

/* Footer */
footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    background: var(--bg-body);
    transition: background-color 0.3s, border-color 0.3s;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 32px;
}
.footer-links a { color: var(--text-main); font-weight: 600; font-size: 0.95rem; }
.footer-links a:hover { color: var(--accent); }

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    margin-top: 60px;
}

.form-group { margin-bottom: 24px; }

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s;
    background: var(--bg-body);
    color: var(--text-main);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    background: var(--bg-card);
}

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

.btn-submit {
    background: var(--primary);
    color: var(--primary-fg);
    border: none;
    padding: 16px 36px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15);
}

.contact-info-card {
    background: var(--bg-surface);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: background-color 0.3s, border-color 0.3s;
}

.contact-item { margin-bottom: 32px; }
.contact-item:last-child { margin-bottom: 0; }

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-main);
    font-weight: 700;
}

.contact-item p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.contact-item a {
    color: var(--text-muted);
    transition: color 0.2s;
}

.contact-item a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-main);
    transition: all 0.2s;
}

.social-icon:hover {
    background: var(--primary);
    color: var(--primary-fg);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Theme Toggle Button */
.theme-toggle {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    margin-left: 20px;
}

.theme-toggle:hover {
    background: var(--bg-surface);
    color: var(--accent);
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .gallery-grid { grid-template-columns: 1fr; }
    .page-title { font-size: 2.5rem; }
    .content-wrapper { font-size: 1rem; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
