
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111;
    --bg-header: rgba(0, 0, 0, 0.7);
    --bg-footer: #000;
    --text-primary: #f0f0f0;
    --text-secondary: #aaa;
    --accent: #E2B887;
    --accent-dark: #C89B6C;
    --border-color: #444;
    --hero-overlay: rgba(0, 0, 0, 0.7);
    --img-brightness: 0.8;
    --btn-text: #0a0a0a;
}

body.light-mode {
    --bg-primary: #f5f0eb;
    --bg-secondary: #ede5db;
    --bg-header: rgba(255, 255, 255, 0.85);
    --bg-footer: #e8e0d6;
    --text-primary: #2c2420;
    --text-secondary: #6b5e54;
    --accent: #b08650;
    --accent-dark: #96703e;
    --border-color: #d4c4b0;
    --hero-overlay: rgba(255, 255, 255, 0.4);
    --img-brightness: 1;
    --btn-text: #fff;
}

body {
    font-family: 'Cormorant Garamond', serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="4" height="4" viewBox="0 0 4 4"%3E%3Cpath fill="%239C92AC" fill-opacity="0.05" d="M1 3h1v1H1V3zm2-2h1v1H3V1z"%3E%3C/path%3E%3C/svg%3E');
    transition: background-color 0.4s ease, color 0.4s ease;
}

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;700&display=swap');

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: var(--bg-header);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color 0.4s ease, border-color 0.4s ease;
}

.logo h1 {
    font-size: 2.5em;
    color: var(--accent);
    text-shadow: 0 0 15px var(--accent), 0 0 25px var(--accent);
    margin: 0;
    font-weight: 700;
    transition: color 0.4s ease, text-shadow 0.4s ease;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav li {
    margin-left: 35px;
}

nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.3em;
    transition: color 0.3s, text-shadow 0.3s;
    font-weight: 300;
}

nav a:hover {
    color: var(--accent);
    text-shadow: 0 0 8px var(--accent);
}

#theme-toggle {
    background: none;
    border: 2px solid var(--accent);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 30px;
    transition: background-color 0.3s, border-color 0.3s, transform 0.3s;
    flex-shrink: 0;
}

#theme-toggle:hover {
    background-color: var(--accent);
    transform: scale(1.1);
}

#theme-toggle:hover .icon-dark,
#theme-toggle:hover .icon-light {
    color: var(--btn-text);
}

#theme-toggle .icon-dark,
#theme-toggle .icon-light {
    font-size: 1.3em;
    color: var(--accent);
    transition: color 0.3s;
}

/* Dark mode: show moon, hide sun */
#theme-toggle .icon-dark { display: inline; }
#theme-toggle .icon-light { display: none; }

/* Light mode: show sun, hide moon */
body.light-mode #theme-toggle .icon-dark { display: none; }
body.light-mode #theme-toggle .icon-light { display: inline; }

#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: linear-gradient(var(--hero-overlay), var(--hero-overlay)), url('https://images.unsplash.com/photo-1548839140-29a749e1cf4d?w=1920&q=80');
    background-size: cover;
    background-position: center;
}

.hero-content h2 {
    font-size: 5em;
    color: #FFF;
    margin-bottom: 0.3em;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.8em;
    color: var(--accent);
    margin-bottom: 1.5em;
    font-weight: 300;
}

.btn {
    background: linear-gradient(145deg, var(--accent), var(--accent-dark));
    color: var(--btn-text);
    padding: 18px 35px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.3em;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s, background 0.4s;
    box-shadow: 0 12px 25px rgba(226, 184, 135, 0.2), 0 8px 8px rgba(226, 184, 135, 0.23);
}

.btn:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(226, 184, 135, 0.25), 0 12px 12px rgba(226, 184, 135, 0.22);
}

section {
    padding: 100px 50px;
    text-align: center;
}

section h2 {
    font-size: 3.5em;
    color: var(--accent);
    margin-bottom: 1em;
    font-weight: 700;
    transition: color 0.4s ease;
}

#about {
    background-color: var(--bg-secondary);
    transition: background-color 0.4s ease;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.4em;
    line-height: 1.8;
    font-weight: 300;
}

.price {
    font-size: 1.6em;
    font-weight: bold;
    color: var(--accent);
    margin-top: 1.5em;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.4s, filter 0.4s;
    filter: brightness(var(--img-brightness));
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(1);
}

#contact {
    background-color: var(--bg-secondary);
    transition: background-color 0.4s ease;
}

footer {
    text-align: center;
    padding: 30px;
    background-color: var(--bg-footer);
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
    font-weight: 300;
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

.footer-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 1.1em;
    transition: color 0.3s;
}

.footer-link:hover {
    text-decoration: underline;
}
