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

body {
    font-family: 'BPG Glaho', 'BPG Nino Mtavruli', sans-serif;
    color: #1a1a1a;
    position: relative;
    overflow-x: hidden;
    background: linear-gradient(135deg, #1b1b2f, #302b63, #24243e);
    color: #fff;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Hero Section */
.hero {
    background: url('../img/cover.webp') center/cover no-repeat;
    height: 100vh;
    display:flex; 
    flex-direction:column; 
    justify-content:center; 
    align-items:center; 
    text-align:center;
    color:#fff; 
    position:relative;
}
.hero::after { 
    content:""; 
    position:absolute; 
    inset:0; 
    background-color: rgba(0,0,0,0.4);
}
.hero .logo { 
    width:150px; 
    z-index:2; 
    margin-bottom:20px;
}
.hero-content { 
    z-index:2; 
    animation:fadeInUp 1s ease-out; 
    max-width:90%; 
}
.hero h1 { 
    font-family:'BPG Nino Mtavruli', sans-serif; 
    font-size:3rem; 
    margin-bottom:20px;
}
.hero h1 .highlight {
    color: #DBA261;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5), 0 0 10px rgba(219,162,97,0.6);
    transform: rotateX(5deg);
    display:inline-block;
}

/* Lukinski Projects in Latin bold Poppins */
.hero h1 .highlight.latin {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.hero p { 
    font-size:1.2rem; 
    margin-top:10px; 
    font-family:'BPG Glaho', sans-serif;
}

/* Section Styling */
.section {
    padding: 80px 20px;
    position: relative;
    z-index: 1;
}
.section:nth-of-type(even) { background-color: #f9f7f0; }
.section:nth-of-type(odd) { background-color: #ffffff; }
.section h2 {
    font-family: 'BPG Nino Mtavruli', sans-serif;
    font-size: 2.5rem;
    color: #1b3a57;
    text-align: center;
    margin-bottom: 50px;
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: auto;
    margin-bottom: 50px;
}
.card {
    background-color: #fff;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.6s ease-out, transform 0.3s ease-in-out;
    text-align: center;
}
.card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.card .img-placeholder {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #d3d3d3;
    color: #555;
    font-size: 1.2rem;
    font-weight: bold;
}
.card h3 {
    font-family: 'BPG Nino Mtavruli', sans-serif;
    color: #1b3a57;
    padding: 15px;
}
.card p { 
    padding: 0 15px 15px 15px; 
    font-family: 'BPG Glaho', sans-serif;
}

/* Buttons */
.btn {
    display: inline-block;
    margin-bottom: 15px;
    text-align: center;
    background-color: #dba261;
    color: #fff;
    text-decoration: none;
    padding: 7px 15px;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(219,162,97,0.4);
}

/* Back To Top */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #1b3a57;
    color: #fff;
    border: none;
    padding: 12px 16px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 10;
}
#backToTop:hover {
    background-color: #DBA261;
    color: #1b3a57;
    transform: scale(1.1);
}

/* Footer */
footer {
    background-color:#29262E;
    color:#fff;
    text-align:center;
    padding:50px 20px;
    font-size:0.95rem;
    font-family:'BPG Glaho', sans-serif;
}
footer .social-icons { 
    display:flex; 
    justify-content:center; 
    gap:20px; 
    margin:20px 0 0 0; 
}
footer .social-icons a { 
    color:#fff; 
    font-size:1.5rem; 
    transition:color 0.3s;
}
footer .social-icons a:hover { color:#DBA261; }

@keyframes fadeInUp { 
    0%{opacity:0; transform:translateY(20px);} 
    100%{opacity:1; transform:translateY(0);} 
}
