/*
 * Hlavný CSS súbor pre kamenárstvo
 * Verzia: 3.0 - Kompatibilná so všetkými prehliadačmi
 */

/* ===== RESET CSS ===== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* ===== ZÁKLADNÉ NASTAVENIA ===== */
body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    background-color: #ffffff;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: #333333;
    text-decoration: none;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

a:hover {
    color: #d4a017;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.3;
}

h1 {
    font-size: 32px;
}

h2 {
    font-size: 28px;
    margin-top: 3rem;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 20px;
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 16px;
}

p {
    margin-bottom: 15px;
}

/* ===== LAYOUT ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    margin: 0 -15px;
    overflow: hidden;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

.col {
    float: left;
    width: 100%;
    padding: 0 15px;
}

/* ===== HEADER A NAVIGÁCIA ===== */
.site-header {
    background-color: #333333;
    padding: 15px 0;
    position: relative;
}

.header-content {
    overflow: hidden;
}

.logo {
    float: left;
}

.logo a {
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
}

/* Hlavná navigácia */
.main-nav {
    float: right;
}

.main-nav ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.main-nav ul li {
    float: left;
    margin-left: 20px;
}

.main-nav ul li a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    padding: 5px 0;
}

.main-nav ul li a:hover {
    color: #d4a017;
}

/* Hamburger menu */
.menu-toggle {
    display: none;
    float: right;
    width: 30px;
    height: 25px;
    position: relative;
    cursor: pointer;
    margin-top: 5px;
}

.menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #ffffff;
    border-radius: 3px;
    left: 0;
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 10px;
}

.menu-toggle span:nth-child(3) {
    top: 20px;
}

/* ===== HERO SEKCIA ===== */
.hero {
    position: relative;
    height: 600px;
    background-image: url('../images/hero-bg.jpg'); /* Tu nastavte cestu k vášmu obrázku */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Tmavý overlay pre lepšiu čitateľnosť textu */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* ===== SEKCIE ===== */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.section-title .divider {
    width: 60px;
    height: 3px;
    background-color: #d4a017;
    margin: 0 auto;
}

/* Alternatívny prístup s inline-block */
.works-grid {
    margin: 0 -10px 30px;
    overflow: hidden;
}

.work-item {
    display: block; /* Na mobiloch pod sebou */
    width: 100%;
    padding: 0 10px;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Responzívne nastavenia pre tablety a desktopy */
@media (min-width: 768px) {
    .work-item {
        display: inline-block; /* Na väčších obrazovkách vedľa seba */
        width: 33.333%;
        float: left;
    }
}

.work-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.work-image {
    height: 200px;
    overflow: hidden;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.work-item:hover .work-image img {
    transform: scale(1.05);
}

.work-info {
    padding: 15px;
}

.work-info h3 {
    margin-bottom: 5px;
    font-size: 18px;
}

.work-info p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* Clearfix pre works-grid */
.works-grid:after {
    content: "";
    display: table;
    clear: both;
}

/* Centrované tlačidlo pod mriežkou */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 25px;
}

/* ===== TLAČIDLÁ ===== */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #333333;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}

.btn:hover {
    background-color: #555555;
    color: #ffffff;
}

.btn-primary {
    background-color: #d4a017;
}

.btn-primary:hover {
    background-color: #b38613;
}

.btn-secondary {
    background-color: #555555;
}

.btn-secondary:hover {
    background-color: #444444;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #333333;
    color: #333333;
}

.btn-outline:hover {
    background-color: #333333;
    color: #ffffff;
}

.btn-lg {
    padding: 12px 24px;
    font-size: 18px;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 14px;
}

/* ===== KARTY ===== */
.card {
    background-color: #ffffff;
    border-radius: 4px;
    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 30px;
}

.card-header {
    padding: 15px 20px;
    background-color: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
}

.card-body {
    padding: 20px;
}

.card-footer {
    padding: 15px 20px;
    background-color: #f5f5f5;
    border-top: 1px solid #e0e0e0;
}

/* ===== FORMULÁRE ===== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="url"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 16px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4a017;
    -webkit-box-shadow: 0 0 0 2px rgba(212, 160, 23, 0.2);
    -moz-box-shadow: 0 0 0 2px rgba(212, 160, 23, 0.2);
    box-shadow: 0 0 0 2px rgba(212, 160, 23, 0.2);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-group .form-text {
    font-size: 14px;
    color: #777777;
    margin-top: 5px;
}

/* ===== ALERTY ===== */
.alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.alert-success {
    background-color: #e8f5e9;
    border: 1px solid #4caf50;
    color: #4caf50;
}

.alert-danger {
    background-color: #ffebee;
    border: 1px solid #f44336;
    color: #f44336;
}

.alert-warning {
    background-color: #fff8e1;
    border: 1px solid #ff9800;
    color: #ff9800;
}

.alert-info {
    background-color: #e3f2fd;
    border: 1px solid #2196f3;
    color: #2196f3;
}

/* ===== STRÁNKA HEADER ===== */
.page-header {
    background-color: #f5f5f5;
    padding: 40px 0;
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    margin-bottom: 10px;
}

.page-header p {
    color: #777777;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== STRÁNKA OBSAH ===== */
.page-content {
    padding-bottom: 60px;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

/* ===== O NÁS STRÁNKA ===== */
.about-section {
    margin-bottom: 40px;
}

.about-section h2 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.about-section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #d4a017;
}

/* ===== GALÉRIA ===== */
.gallery-section {
    padding-bottom: 60px;
}

.gallery-categories {
    text-align: center;
    margin-bottom: 30px;
}

.category-item {
    display: inline-block;
    padding: 10px 20px;
    background-color: #f5f5f5;
    border-radius: 30px;
    color: #333333;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    font-weight: bold;
    border: 1px solid transparent;
    -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin: 0 5px 10px 5px;
}

.category-item:hover {
    background-color: #f0f0f0;
    border-color: #d4a017;
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    -o-transform: translateY(-2px);
    transform: translateY(-2px);
}

.category-item.active {
    background-color: #d4a017;
    color: #ffffff;
    border-color: #d4a017;
}

.gallery-grid {
    margin: 0 -15px;
    overflow: hidden;
}

.gallery-item {
    float: left;
    width: 33.333%;
    padding: 0 15px;
    margin-bottom: 30px;
}

.gallery-item-inner {
    border-radius: 4px;
    overflow: hidden;
    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.gallery-item-inner:hover {
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    -o-transform: translateY(-5px);
    transform: translateY(-5px);
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-image {
    height: 200px;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.gallery-item-inner:hover .gallery-image img {
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -o-transform: scale(1.05);
    transform: scale(1.05);
}

.gallery-info {
    padding: 15px;
    background-color: #ffffff;
}

.gallery-info h3 {
    margin-bottom: 5px;
    font-size: 18px;
}

.gallery-info .category {
    color: #777777;
    font-size: 14px;
}

.no-items {
    text-align: center;
    padding: 40px;
    background-color: #f5f5f5;
    border-radius: 4px;
}

/* Modal pre detail galérie */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 20px;
    border-radius: 8px;
    max-width: 900px;
    width: 90%;
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #aaaaaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
}

.close:hover {
    color: #333333;
}

.modal-body {
    overflow: hidden;
}

.modal-image {
    float: left;
    width: 100%;
    margin-bottom: 20px;
}

.modal-image img {
    max-width: 100%;
    max-height: 500px;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
}

.modal-info {
    float: left;
    width: 100%;
    padding: 0 10px;
}

.modal-info h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
}

.modal-info .category {
    color: #777777;
    margin-bottom: 15px;
}

.modal-info .description {
    line-height: 1.6;
}

/* ===== KONTAKT STRÁNKA ===== */
/* Upravený štýl pre kontaktnú stránku bez formulára */
.contact-section {
    padding: 60px 0;
}

.contact-grid {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.contact-info {
    max-width: 600px;
    background-color: #f8f8f8;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    margin-bottom: 25px;
    text-align: center;
    font-size: 24px;
    position: relative;
    padding-bottom: 10px;
}

.contact-info h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #d4a017;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: #d4a017;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 20px;
}

.contact-text h4 {
    margin-bottom: 5px;
    font-size: 18px;
}

.contact-text p a {
    color: #333;
    transition: color 0.3s ease;
}

.contact-text p a:hover {
    color: #d4a017;
}

.contact-map {
    width: 100%;
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responzívne nastavenia */
@media (max-width: 768px) {
    .contact-info {
        padding: 20px;
    }
    
    .contact-map {
        height: 350px;
    }
}

/* ===== CTA SEKCIA ===== */
.cta {
    background-color: #333333;
    color: #ffffff;
    padding: 60px 0;
    text-align: center;
    margin-top: 40px;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    margin-bottom: 15px;
}

.cta p {
    margin-bottom: 30px;
    opacity: 0.9;
}

/* ===== FOOTER ===== */
.site-footer {
    background-color: #333333;
    color: #ffffff;
    padding: 60px 0 0;
}

.footer-content {
    overflow: hidden;
    margin-bottom: 40px;
}

.footer-info,
.footer-contact,
.footer-social {
    float: left;
    width: 100%;
    margin-bottom: 30px;
}

.footer-info h3,
.footer-contact h3,
.footer-social h3 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-info p,
.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.social-icons {
    overflow: hidden;
}

.social-icons a {
    float: left;
    display: block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 15px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #d4a017;
    -webkit-transform: translateY(-3px);
    -moz-transform: translateY(-3px);
    -ms-transform: translateY(-3px);
    -o-transform: translateY(-3px);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* ===== ADMIN PORTÁL ===== */
.admin-login {
    max-width: 400px;
    margin: 100px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 4px;
    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.admin-login h1 {
    text-align: center;
    margin-bottom: 30px;
}

.admin-content {
    padding: 30px 0;
}

.admin-content h1 {
    margin-bottom: 30px;
}

.admin-card {
    background-color: #ffffff;
    border-radius: 4px;
    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 30px;
}

.admin-card h2 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.admin-table th {
    background-color: #f5f5f5;
    font-weight: bold;
}

.admin-table tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.admin-actions {
    overflow: hidden;
}

.admin-actions a {
    float: left;
    margin-right: 10px;
    color: #333333;
    font-size: 18px;
}

.admin-actions a:hover {
    color: #d4a017;
}

.admin-actions .delete {
    color: #f44336;
}

.admin-actions .delete:hover {
    color: #d32f2f;
}

.admin-dashboard {
    overflow: hidden;
    margin-bottom: 40px;
}

.dashboard-card {
    float: left;
    width: 100%;
    background-color: #ffffff;
    border-radius: 4px;
    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
}

.dashboard-card .icon {
    font-size: 40px;
    color: #d4a017;
    margin-bottom: 15px;
}

.dashboard-card h3 {
    margin-bottom: 5px;
}

.dashboard-card p {
    font-size: 32px;
    font-weight: bold;
    color: #333333;
}

/* ===== RESPONZÍVNY DIZAJN ===== */
@media (min-width: 576px) {
    .footer-info,
    .footer-contact,
    .footer-social {
        width: 50%;
    }
    
    .dashboard-card {
        width: 50%;
        padding: 0 10px;
    }
}

@media (min-width: 768px) {
    .contact-info {
        width: 48%;
        float: left;
        margin-right: 4%;
        margin-bottom: 0;
    }
    
    .contact-form {
        width: 48%;
        float: left;
    }
    
    .modal-image {
        width: 50%;
        float: left;
        margin-bottom: 0;
    }
    
    .modal-info {
        width: 50%;
        float: left;
    }
    
    .footer-info,
    .footer-contact,
    .footer-social {
        width: 33.333%;
    }
    
    .dashboard-card {
        width: 33.333%;
    }
}

@media (min-width: 992px) {
    .dashboard-card {
        width: 25%;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-nav {
        display: none;
        float: none;
        clear: both;
        width: 100%;
        margin-top: 15px;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        float: none;
    }
    
    .main-nav ul li {
        float: none;
        margin: 0 0 15px 0;
    }
    
    .main-nav ul li:last-child {
        margin-bottom: 0;
    }
    
    h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    .hero {
        height: 400px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    
    .hero h2 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .page-header {
        padding: 30px 0;
        margin-bottom: 30px;
    }
    
    .gallery-item {
        width: 50%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
    
    .hero h2 {
        font-size: 2rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 576px) {
    .gallery-item {
        width: 100%;
    }
    
    .dashboard-card {
        width: 100%;
    }
}