:root {
    --primary-color: #1a2b3c;
    /* Blue Navy */
    --secondary-color: #c5a059;
    /* Gold/Bronze */
    --accent-color: #d4af37;
    /* Lighter Gold */
    --text-color: #333333;
    --light-text: #ffffff;
    --bg-color: #f4f7f9;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    /* Aling correctly with sticky header */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header & Navigation --- */
header {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
}

.logo a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.logo a:hover {
    opacity: 0.8;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--light-text);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--secondary-color);
}

/* --- Hero Section --- */
.hero {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--light-text);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    width: 100%;
}

.hero-text {
    flex: 1.2;
    text-align: left;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
}

.hero-text p {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.photo-credit {
    font-size: 0.8rem;
    margin-top: 10px;
    opacity: 0.9;
    font-style: italic;
    color: var(--light-text);
}

@media screen and (max-width: 992px) {
    .hero {
        padding: 60px 0;
    }

    .hero .container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-text {
        text-align: center;
    }

    .hero-text h1 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        line-height: 1.1;
        margin-top: 10px;
        margin-bottom: 1rem;
        white-space: nowrap;
    }

    .hero-btns {
        justify-content: center;
        flex-direction: column;
    }

    .hero-image {
        width: 100%;
        margin-bottom: 15px;
    }

    .hero-image img {
        height: auto;
        width: 100%;
        max-width: 600px;
        /* Increased to use more space but remain framed */
        border-radius: 20px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    }
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn:hover {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* --- Glassmorphism Cards --- */
.section {
    padding: 50px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    font-size: 2.2rem;
    position: relative;
}

.spacer {
    margin-top: 40px;
}

.bg-white {
    background-color: #ffffff;
}

.bg-gray-light {
    background-color: #f4f7f9;
}

.bg-light {
    background-color: #eaeff2;
}

.text-center {
    text-align: center;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 15px auto;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.25);
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.card p i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(0.2) contrast(1.1);
    transition: var(--transition);
}

.map-container iframe:hover {
    filter: grayscale(0);
}

/* --- Read More Links --- */
.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.read-more:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.read-more i {
    font-size: 0.8rem;
}

/* --- Blog Section --- */
.blog-card {
    cursor: pointer;
}

.blog-meta {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 10px;
}

/* Post Detail Styles */
.post-header {
    padding: 100px 0 50px;
    background: linear-gradient(rgba(26, 43, 60, 0.9), rgba(26, 43, 60, 0.9));
    color: white;
    text-align: center;
}

.post-meta-detailed {
    margin-top: 15px;
    opacity: 0.8;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-content {
    max-width: 800px;
    margin: -50px auto 50px;
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 10;
}

.post-content h1,
.post-content h2,
.post-content h3 {
    color: var(--primary-color);
    margin: 30px 0 15px;
}

.post-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #444;
}

#post-body img,
.ql-editor img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.back-link {
    display: inline-block;
    margin-bottom: 30px;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.back-link:hover {
    color: var(--primary-color);
    transform: translateX(-5px);
}

@media screen and (max-width: 768px) {
    .post-content {
        padding: 30px 20px;
        margin-top: -30px;
    }
}

/* --- Footer --- */
footer {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    opacity: 0.7;
}

/* --- Admin Styles --- */
.admin-toolbar {
    background-color: #333;
    padding: 5px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- Animations --- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade {
    animation: fadeIn 0.8s ease-out forwards;
}

/* --- Contact Section Layout --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 30px;
    align-items: stretch;
}

.contact-maps {
    display: flex;
    flex-direction: column;
}

.h-100 {
    height: 100%;
}

@media screen and (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Responsive Mobile Menu --- */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }
}

/* --- Back to Top Button --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    background-color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

@media screen and (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* --- Native Form Styles --- */
.studio-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.studio-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.studio-form input[type="text"],
.studio-form input[type="email"],
.studio-form input[type="tel"],
.studio-form select,
.studio-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

.studio-form input:focus,
.studio-form select:focus,
.studio-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.studio-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%231a2b3c' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C2.185 5.355 2.398 5 2.715 5h9.57a.715.715 0 0 1 .54 1.14l-4.796 5.482a.5.5 0 0 1-.782 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.studio-form textarea {
    resize: vertical;
}

.studio-form .form-privacy a:hover {
    color: var(--primary-color) !important;
}

@media screen and (max-width: 480px) {
    .studio-form .form-row {
        flex-direction: column;
        gap: 0 !important;
    }
}

/* Mobile text padding adjustment */
@media screen and (max-width: 768px) {
    .about-text {
        padding: 0 25px;
    }

    .section .container {
        padding: 0 25px;
    }
}

/* --- Google Translate Styles --- */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
.goog-te-banner,
#goog-gt-tt,
.goog-te-balloon-frame,
#google_translate_element {
    display: none !important;
    visibility: hidden !important;
}

body {
    top: 0 !important;
    position: static !important;
}

html {
    margin-top: 0 !important;
}

.goog-text-highlight {
    background: none !important;
    box-shadow: none !important;
}

.goog-te-gadget {
    display: none !important;
}

.goog-te-gadget .goog-te-combo {
    display: none !important;
}

/* --- Translation Widget in Nav --- */
.translate-nav {
    display: flex;
    align-items: center;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.lang-dropdown {
    position: relative;
    z-index: 1000;
}

.dropdown-trigger {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.dropdown-trigger:hover {
    border-color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.1);
}

.dropdown-trigger i:first-child {
    font-size: 0.9rem;
    color: var(--secondary-color);
    display: none;
}

.active-flag,
.dropdown-item .flag {
    display: none;
}

.dropdown-trigger .chevron {
    font-size: 0.7rem;
    color: var(--secondary-color);
    transition: transform 0.3s;
}

.dropdown-trigger[aria-expanded="true"] .chevron {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 130%;
    background: var(--primary-color);
    min-width: 170px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--secondary-color);
}

.dropdown-content.show {
    display: block;
    animation: slideDown 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dropdown-item {
    width: 100%;
    padding: 12px 18px;
    border: none;
    background: none;
    text-align: left;
    color: white;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: rgba(197, 160, 89, 0.15);
    color: var(--secondary-color);
}

.dropdown-item.active {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.dropdown-item.active .flag {
    filter: none;
}

@media screen and (max-width: 1100px) {
    .dropdown-trigger {
        padding: 5px 10px;
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 768px) {
    .translate-nav {
        order: 2;
        margin-right: 20px;
        padding-left: 0;
        border-left: none;
        display: flex;
        justify-content: flex-end;
    }

    .logo {
        flex: 1;
        font-size: 1.1rem;
        margin-right: 15px;
        letter-spacing: 0.5px;
        text-align: left;
    }

    .dropdown-trigger i:first-child {
        display: none !important;
    }

    .active-flag,
    .dropdown-item .flag {
        display: block;
    }

    .active-name {
        display: none;
    }

    .dropdown-trigger {
        padding: 5px 8px;
        font-size: 0.95rem;
    }

    .menu-toggle {
        order: 3;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 500px;
    background: var(--primary-color);
    color: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 10001;
    display: none;
    border: 1px solid var(--secondary-color);
}

.cookie-banner.show {
    display: block;
    animation: slideUpCookie 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cookie-banner h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 0;
}

.cookie-banner p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
    opacity: 0.9;
    color: white;
}

.cookie-banner p a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.cookie-btns {
    display: flex;
    gap: 10px;
}

.cookie-btns button {
    flex: 1;
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
}

.btn-accept {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.btn-reject {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-accept:hover {
    background-color: white;
    transform: translateY(-2px);
}

.btn-reject:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

@keyframes slideUpCookie {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media screen and (max-width: 600px) {
    .cookie-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 20px;
    }
    
    .cookie-btns {
        flex-direction: column;
    }
}