/* ==========================================================================
   ZERDA Organizasyon - Premium Dark & Gold Theme
   ========================================================================== */

/* --- Variables --- */
:root {
    --gold: #D4AF37;
    --gold-light: #F3E5AB;
    --gold-dark: #AA8C2C;
    --bg-dark: #0f0f11;
    --bg-darker: #050505;
    --bg-card: rgba(25, 25, 28, 0.7);
    --text-light: #fdfdfd;
    --text-gray: #b0b0b0;
    --border-color: rgba(212, 175, 55, 0.2);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --glass-bg: rgba(15, 15, 17, 0.8);
    --glass-border: rgba(255, 255, 255, 0.05);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Loader --- */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-darker);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
}

.gold-text {
    color: var(--gold);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--bg-darker);
    border: 1px solid var(--gold);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--gold);
}

.btn-outline {
    background-color: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
}

.btn-outline:hover {
    background-color: var(--gold);
    color: var(--bg-darker);
}

.btn-block {
    display: block;
    width: 100%;
}

/* --- Navbar (Glassmorphism) --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 15px 0;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-custom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    padding: 8px 18px;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.3);
    text-decoration: none;
    line-height: 1;
    transition: var(--transition);
}

.logo-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.logo-custom-title {
    font-family: var(--font-heading);
    font-size: 30px;
    color: var(--gold);
    letter-spacing: 2px;
    font-weight: 700;
}

.logo-custom-subtitle {
    font-family: var(--font-body);
    font-size: 11px;
    letter-spacing: 6px;
    color: #000000;
    margin-top: 2px;
    font-weight: 600;
}

.nav-menu {
    display: flex;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 400;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.btn-contact {
    border: 1px solid var(--gold);
    padding: 8px 20px;
    border-radius: 20px;
}

.btn-contact::after {
    display: none;
}

.btn-contact:hover {
    background-color: var(--gold);
    color: var(--bg-darker);
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--gold);
}

/* --- Hero Split Section --- */
.hero-split {
    padding-top: 160px;
    padding-bottom: 80px;
    background-color: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.hero-split-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-split .hero-content {
    flex: 1;
    text-align: left;
    position: relative;
    z-index: 2;
}

.hero-split .hero-title {
    font-size: 55px;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: none;
}

.hero-split .hero-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 90%;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.hero-visual {
    flex: 1;
    position: relative;
    z-index: 2;
}

.image-collage {
    position: relative;
    height: 550px;
    width: 100%;
}

.image-collage .img-main {
    width: 75%;
    height: 85%;
    object-fit: cover;
    border-radius: 20px;
    position: absolute;
    right: 0;
    top: 0;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.image-collage .img-sub {
    width: 55%;
    height: 55%;
    object-fit: cover;
    border-radius: 20px;
    position: absolute;
    left: 0;
    bottom: 0;
    border: 8px solid var(--bg-dark);
    box-shadow: var(--shadow);
}

.floating-badge {
    position: absolute;
    top: 15%;
    left: -5%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 15px 25px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gold);
    box-shadow: var(--shadow);
    animation: float 4s ease-in-out infinite;
}

.floating-badge i {
    font-size: 20px;
}

.floating-badge span {
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    color: var(--text-light);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* --- Page Header (Inner Pages) --- */
.page-header {
    height: 50vh;
    min-height: 350px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.6), var(--bg-dark));
}

.page-header-content {
    position: relative;
    z-index: 2;
    padding-top: 80px; /* navbar padding */
}

.page-title {
    font-size: 50px;
    margin-bottom: 15px;
    color: var(--gold);
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.page-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--text-light);
    margin: 20px auto 0;
}

.page-subtitle {
    font-size: 16px;
    color: var(--text-light);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* --- Sections Common --- */
.section {
    padding: 100px 0;
}

.bg-dark {
    background-color: var(--bg-darker);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 40px;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--gold);
}

.section-subtitle {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-gray);
    margin-top: 20px;
}

/* --- About Section --- */
.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
    position: relative;
}

.rounded-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gold);
    color: var(--bg-darker);
    padding: 30px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    border: 5px solid var(--bg-dark);
}

.experience-badge .number {
    font-size: 36px;
    font-weight: 700;
    font-family: var(--font-heading);
}

.experience-badge .text {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.about-text {
    flex: 1;
}

.about-text .section-title {
    margin-bottom: 5px;
}

.about-text .section-title::after {
    left: 0;
    transform: none;
}

.about-text .section-subtitle {
    margin-bottom: 30px;
    display: block;
    font-size: 24px;
    color: var(--text-light);
    letter-spacing: 1px;
    text-transform: none;
    font-family: var(--font-heading);
    margin-top: 10px;
}

.about-text p {
    color: var(--text-gray);
    margin-bottom: 20px;
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--border-color);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 40px;
    color: var(--gold);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 25px;
}

.service-link {
    color: var(--gold);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.service-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.service-card:hover .service-link i {
    transform: translateX(5px);
}

/* --- Portfolio Section --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 350px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    font-size: 24px;
    color: var(--gold);
    transform: translateY(20px);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay h3 {
    transform: translateY(0);
}

/* --- Contact Section --- */
.contact-container {
    display: flex;
    gap: 60px;
}

.contact-info, .contact-form-container {
    flex: 1;
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--gold);
}

.contact-info > p {
    color: var(--text-gray);
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-item .icon {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--gold);
    font-size: 20px;
    margin-right: 20px;
}

.info-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
    font-family: var(--font-body);
}

.info-item p {
    color: var(--text-gray);
}

.contact-form {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-light);
    border-radius: 5px;
    font-family: var(--font-body);
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(0,0,0,0.5);
}

.form-status {
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
}

/* --- Footer --- */
.footer {
    background-color: #030303;
    padding: 80px 0 20px;
    border-top: 1px solid var(--glass-border);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand h2 {
    font-size: 24px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-gray);
    margin-bottom: 20px;
    max-width: 300px;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    margin-right: 10px;
    color: var(--text-light);
}

.social-links a:hover {
    background: var(--gold);
    color: var(--bg-darker);
    border-color: var(--gold);
}

.footer h3 {
    font-size: 18px;
    color: var(--gold);
    margin-bottom: 25px;
    font-family: var(--font-body);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--text-gray);
}

.footer-links ul li a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-contact p {
    color: var(--text-gray);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    color: var(--gold);
    margin-right: 15px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-gray);
    font-size: 13px;
}

/* --- Animations & Reveal --- */
.reveal {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translate(0, 0);
}

.fade-up {
    transform: translateY(50px);
}

.fade-left {
    transform: translateX(-50px);
}

.fade-right {
    transform: translateX(50px);
}

/* --- Responsive --- */
@media screen and (max-width: 992px) {
    .hero-split-container { flex-direction: column; text-align: center; }
    .hero-split .hero-content { text-align: center; }
    .hero-split .hero-subtitle { margin: 0 auto 30px; }
    .hero-split .hero-title { font-size: 48px; }
    .hero-buttons { justify-content: center; }
    .about-container { flex-direction: column; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .contact-container { flex-direction: column; }
    .footer-container { grid-template-columns: 1fr 1fr; }
}

@media screen and (max-width: 768px) {
    .hamburger { display: block; }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s;
    }
    .nav-menu.active { right: 0; }
    .nav-list {
        flex-direction: column;
        gap: 40px;
    }
    .nav-link { font-size: 18px; }
    .hero-split .hero-title { font-size: 36px; }
    .image-collage { height: 400px; }
    .footer-container { grid-template-columns: 1fr; text-align: center; }
    .footer-brand p { max-width: 100%; margin: 0 auto 20px; }
    .footer-contact p { justify-content: center; }
}
