* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e40af;
    --secondary-color: #dc2626;
    --accent-color: #0369a1;
    --dark-bg: #0f172a;
    --light-bg: #f0f9ff;
    --text-dark: #1e293b;
    --text-light: #475569;
    --border-color: #e2e8f0;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    z-index: 1000;
    box-shadow: var(--shadow);
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    gap: 2rem;
}

.navbar-logo {
    height: 50px;
    width: auto;
    animation: fadeIn 0.6s ease-out;
}

.navbar-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    animation: fadeIn 0.6s ease-out 0.1s both;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    animation: fadeIn 0.6s ease-out 0.2s both;
}

.nav-menu a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: #fbbf24;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: 0.3s ease;
}

/* Sections */
section {
    padding: 100px 0;
    margin-top: 70px;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-dark);
    position: relative;
}

section h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    display: block;
    margin: 1rem auto 0;
    border-radius: 2px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Ballina Section */
.ballina-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    margin-top: 70px;
}

.ballina-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.ballina-info {
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.ballina-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.ballina-info p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
}

.intro-text {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
}

.intro-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Drejtimet Section */
.drejtimet-section {
    background: white;
}

.drejtim-category {
    margin-bottom: 4rem;
}

.drejtim-category h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-color);
    color: var(--text-dark);
}

.drejtim-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    animation: fadeIn 0.8s ease-out;
}

.drejtim-card {
    background: linear-gradient(135deg, var(--light-bg), white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.drejtim-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.05), rgba(3, 105, 161, 0.05));
}

.drejtim-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.drejtim-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
    transition: all 0.3s ease;
}

.drejtim-card:hover i {
    transform: scale(1.1) rotate(10deg);
    color: var(--secondary-color);
}

.drejtim-card h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* Publikime Section */
.publikime-section {
    background: linear-gradient(135deg, var(--light-bg) 0%, #dbeafe 100%);
}

.publikim-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.publikim-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    animation: scaleIn 0.6s ease-out;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.publikim-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

.publikim-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.publikim-card:hover img {
    transform: scale(1.05);
}

.publikim-card h4 {
    padding: 1.5rem;
    font-size: 1.2rem;
    color: var(--text-dark);
    text-align: center;
    border-bottom: 2px solid var(--primary-color);
}

.publikim-card p {
    padding: 1rem 1.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Publikime Detailed */
.publikime-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.publikim-detail-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
}

.publikim-detail-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.publikim-detail-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.publikim-detail-card:hover img {
    transform: scale(1.05);
}

.publikim-detail-card h3 {
    padding: 1.5rem 1.5rem 1rem;
    font-size: 1.2rem;
    color: var(--text-dark);
}

.publikim-detail-card p {
    padding: 0 1.5rem 1rem;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

.publikim-detail-card p:last-child {
    padding-bottom: 1.5rem;
}

/* Nxënësit Section */
.nxenesit-section {
    background: white;
}

.nxenesit-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.nxenesit-item {
    background: linear-gradient(135deg, var(--light-bg), white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    animation: slideInUp 0.8s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nxenesit-item:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.05), white);
}

.nxenesit-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.nxenesit-item:hover img {
    transform: scale(1.05);
}

.nxenesit-item h3 {
    padding: 1.5rem;
    font-size: 1.3rem;
    color: var(--text-dark);
    border-bottom: 2px solid var(--primary-color);
}

.nxenesit-item p {
    padding: 0.5rem 1.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

.nxenesit-item p:first-of-type {
    padding-top: 1rem;
}

.nxenesit-item p:last-child {
    padding-bottom: 1.5rem;
}

.nxenesit-item strong {
    color: var(--primary-color);
    font-weight: 600;
}

.nxenesit-item em {
    color: var(--secondary-color);
    font-style: italic;
}

/* Informohu Section */
.informohu-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
}

.informohu-section h2,
.informohu-section h2::after {
    color: white;
    background: none;
    -webkit-text-fill-color: unset;
}

.informohu-section h2::after {
    background: white;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: grid;
    gap: 2rem;
    animation: slideInLeft 0.8s ease-out;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
}

.contact-item i {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item a,
.contact-item p {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-form {
    display: grid;
    gap: 1rem;
    animation: slideInRight 0.8s ease-out;
}

.contact-form h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.btn-submit {
    padding: 1rem;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.footer-section a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .navbar-container {
        gap: 1rem;
    }

    .navbar-title {
        font-size: 1.1rem;
    }

    .nav-menu {
        gap: 1.5rem;
    }

    .drejtim-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .publikim-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .nxenesit-gallery {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .navbar-container {
        gap: 1rem;
        height: 65px;
        padding: 0 15px;
    }

    .navbar-logo {
        height: 45px;
    }

    .navbar-title {
        font-size: 1rem;
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 65px;
        left: 0;
        width: 100%;
        background: var(--primary-color);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0.5rem;
        animation: slideDown 0.3s ease-out;
        z-index: 999;
    }

    .nav-menu a {
        padding: 0.75rem 1rem;
        border-radius: 5px;
        transition: all 0.3s ease;
    }

    .nav-menu a:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hamburger span {
        background: white;
        width: 22px;
        height: 2.5px;
    }

    section {
        padding: 50px 15px;
        margin-top: 65px;
    }

    section h2 {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }

    .ballina-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .map-container iframe {
        height: 300px !important;
    }

    .drejtim-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1.5rem;
    }

    .drejtim-card {
        padding: 1.5rem 1rem;
    }

    .drejtim-card i {
        font-size: 2.5rem;
    }

    .drejtim-card h4 {
        font-size: 0.95rem;
    }

    .publikim-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .publikim-card img,
    .publikim-detail-card img,
    .nxenesit-item img {
        height: 200px;
    }

    .nxenesit-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 0.75rem;
        font-size: 16px;
    }

    .intro-text {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .intro-text p {
        font-size: 1rem;
    }

    .publikime-detailed {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .navbar-container {
        height: 60px;
        padding: 0 12px;
    }

    .navbar-logo {
        height: 40px;
    }

    .navbar-title {
        display: none;
    }

    .nav-menu {
        top: 60px;
    }

    .hamburger {
        gap: 4px;
    }

    .hamburger span {
        width: 20px;
        height: 2px;
    }

    section {
        padding: 40px 12px;
        margin-top: 60px;
    }

    section h2 {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }

    section h2::after {
        width: 50px;
    }

    .drejtim-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 1rem;
    }

    .drejtim-card {
        padding: 1rem;
    }

    .drejtim-card i {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .drejtim-card h4 {
        font-size: 0.85rem;
        line-height: 1.3;
    }

    .publikim-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .publikim-card,
    .publikim-detail-card,
    .nxenesit-item {
        border-radius: 10px;
    }

    .publikim-card h4,
    .publikim-detail-card h3,
    .nxenesit-item h3 {
        font-size: 1rem;
        padding: 1rem;
    }

    .publikim-card p,
    .publikim-detail-card p,
    .nxenesit-item p {
        font-size: 0.9rem;
        padding: 0 1rem;
    }

    .contact-item {
        padding: 1rem;
        gap: 1rem;
    }

    .contact-item i {
        font-size: 1.5rem;
    }

    .contact-item h3 {
        font-size: 1rem;
    }

    .btn-submit {
        padding: 0.75rem;
        font-size: 0.95rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-section a {
        width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 0.9rem;
    }

    .ballina-info h3 {
        font-size: 1.3rem;
    }

    .ballina-info p {
        font-size: 0.95rem;
    }
}

@media (max-width: 400px) {
    .container {
        padding: 0 10px;
    }

    .navbar-container {
        padding: 0 10px;
        gap: 0.5rem;
    }

    section {
        padding: 30px 10px;
    }

    section h2 {
        font-size: 1.2rem;
    }

    .drejtim-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 0.8rem;
    }

    .drejtim-card {
        padding: 0.8rem 0.5rem;
    }

    .drejtim-card i {
        font-size: 1.8rem;
        margin-bottom: 0.3rem;
    }

    .drejtim-card h4 {
        font-size: 0.8rem;
    }

    .intro-text {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .intro-text p {
        font-size: 0.95rem;
    }

    .publikim-card img,
    .publikim-detail-card img,
    .nxenesit-item img {
        height: 150px;
    }

    .contact-form {
        gap: 0.75rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 0.6rem;
        font-size: 14px;
    }

    .footer-section {
        font-size: 0.9rem;
    }

    .footer-bottom {
        font-size: 0.85rem;
    }
}
