.top-bar{background-color:#f5f5f5;color:#333;padding:8px 0;font-size:12px;border-bottom:1px solid #e0e0e0}.top-bar-content{max-width:1200px;margin:0 auto;padding:0 20px;display:flex;justify-content:space-between;align-items:center}.social-links{display:flex;gap:8px}.social-links a{color:#4a4a4a;text-decoration:none;width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;border-radius:3px;transition:color .3s;font-size:14px}.social-links a:hover{color:#2d6a4f}.contact-links{display:flex;gap:15px;align-items:center}.contact-links a,.contact-links span{color:#4a4a4a;text-decoration:none;font-size:11px}.contact-links a{color:#2d6a4f;font-weight:500}.contact-links a:hover{text-decoration:underline}.hero-header{position:relative;background-image:url(https://macuaya.webnode.pe/_files/200000005-c1f2ec1f2f/1920/macuaya_fondo.jpg);background-size:cover;background-position:center;padding:40px 20px 50px;text-align:center;min-height:280px;display:flex;align-items:center;justify-content:center}.hero-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:#00000073;z-index:1}.hero-header-content{position:relative;z-index:2;max-width:1200px;margin:0 auto}.logo-circle{width:110px;height:110px;margin:0 auto 15px;background-color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 3px 10px #0000004d;overflow:hidden;border:3px solid #ffffff}.logo-circle img{width:100%;height:100%;object-fit:cover}.logo-fallback{font-size:60px}.site-title{font-family:Playfair Display,serif;font-size:3.5rem;color:#fff;margin:15px 0 12px;font-weight:700;text-shadow:2px 2px 8px rgba(0,0,0,.6);letter-spacing:1px}.site-slogan{font-size:1.1rem;color:#fff;font-style:italic;text-shadow:1px 1px 4px rgba(0,0,0,.7);background-color:#000000b3;display:inline-block;padding:8px 25px;border-radius:3px}.main-navigation{background-color:#2d6a4f;box-shadow:0 2px 5px #0000001a;position:sticky;top:0;z-index:1000}.nav-menu{max-width:1200px;margin:0 auto;padding:0;list-style:none;display:flex;justify-content:center;align-items:center;flex-wrap:wrap}.nav-menu>li{position:relative}.nav-menu>li>a{color:#fff;text-decoration:none;padding:18px 25px;display:block;font-weight:500;font-size:15px;transition:all .3s;border-bottom:3px solid transparent}.nav-menu>li>a:hover,.nav-menu>li>a.active{background-color:#52b788;border-bottom-color:#d4a373}.dropdown-arrow{font-size:10px;margin-left:5px}.has-dropdown{position:relative}.dropdown-menu{position:absolute;top:100%;left:0;background-color:#1b4332;min-width:250px;list-style:none;padding:0;margin:0;box-shadow:0 4px 10px #0003;opacity:0;visibility:hidden;transform:translateY(-10px);transition:all .3s;z-index:100}.has-dropdown:hover .dropdown-menu{opacity:1;visibility:visible;transform:translateY(0)}.dropdown-menu li{border-bottom:1px solid rgba(255,255,255,.1)}.dropdown-menu li:last-child{border-bottom:none}.dropdown-menu a{color:#fff;text-decoration:none;padding:12px 20px;display:block;font-size:14px;transition:all .3s}.dropdown-menu a:hover{background-color:#52b788;padding-left:25px}.mobile-menu-toggle{display:none;background:none;border:none;cursor:pointer;padding:15px;flex-direction:column;gap:5px;margin:10px auto}.mobile-menu-toggle span{display:block;width:30px;height:3px;background-color:#fff;transition:all .3s}@media (max-width: 768px){.top-bar-content{flex-direction:column;gap:10px;text-align:center}.contact-links{flex-direction:column;gap:5px}.hero-header{padding:60px 20px;min-height:300px}.logo-circle{width:100px;height:100px}.site-title{font-size:2.5rem}.site-slogan{font-size:1rem;padding:8px 20px}.mobile-menu-toggle{display:flex}.nav-menu{display:none;flex-direction:column;width:100%}.nav-menu.active{display:flex}.nav-menu>li{width:100%;text-align:center}.nav-menu>li>a{padding:15px;border-bottom:1px solid rgba(255,255,255,.1)}.dropdown-menu{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;background-color:#1b4332}.has-dropdown:hover .dropdown-menu{display:none}.has-dropdown.active .dropdown-menu{display:block}}@media (max-width: 480px){.site-title{font-size:2rem}.contact-links a,.contact-links span{font-size:11px}}.footer{background-color:var(--bg-dark);color:var(--text-light);padding:40px 20px 20px;margin-top:auto}.footer-content{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:30px;margin-bottom:30px}.footer-section h3,.footer-section h4{color:var(--accent-color);margin-bottom:15px}.footer-section p{margin-bottom:10px;opacity:.9}.footer-bottom{text-align:center;padding-top:20px;border-top:1px solid rgba(255,255,255,.1)}.footer-bottom p{margin:5px 0;opacity:.8;font-size:.9rem}@media (max-width: 768px){.footer-content{grid-template-columns:1fr;text-align:center}}.login-page{min-height:100vh;display:flex;flex-direction:column}.login-section{flex:1;background:linear-gradient(135deg,var(--primary-color),var(--secondary-color));padding:60px 20px;display:flex;align-items:center;justify-content:center}.login-container{width:100%;max-width:450px}.login-box{background:#fff;border-radius:15px;padding:40px;box-shadow:0 10px 40px #0003}.login-box h2{color:var(--primary-color);text-align:center;margin-bottom:10px;font-size:2rem}.login-subtitle{text-align:center;color:#666;margin-bottom:30px;font-size:.95rem}.form-group label{display:block;color:var(--text-dark);font-weight:600;margin-bottom:8px}.form-group input{width:100%;padding:12px 15px;border:2px solid #e0e0e0;border-radius:8px;font-size:1rem;font-family:Nunito,sans-serif;transition:border-color .3s}.form-group input:focus{outline:none;border-color:var(--accent-color)}.form-group input:disabled{background-color:#f5f5f5;cursor:not-allowed}.btn-primary{width:100%;padding:14px;background:linear-gradient(135deg,var(--primary-color),var(--secondary-color));color:#fff;border:none;border-radius:8px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .2s;margin-top:10px}.btn-primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 5px 15px #2d6a4f4d}.btn-primary:active:not(:disabled){transform:translateY(0)}.btn-primary:disabled{opacity:.6;cursor:not-allowed}.error-msg{background-color:#ffe0e0;color:#d32f2f;padding:12px;border-radius:8px;margin-top:15px;text-align:center;font-size:.95rem;border-left:4px solid #d32f2f}.loading-msg{text-align:center;padding:12px;color:#666;margin-top:15px;font-style:italic}.back-link{display:block;text-align:center;margin-top:25px;color:var(--primary-color);text-decoration:none;font-weight:600;transition:color .3s}.back-link:hover{color:var(--secondary-color)}@media (max-width: 768px){.login-box{padding:30px 20px}.login-box h2{font-size:1.6rem}.login-section{padding:40px 15px}}.home-page{min-height:100vh;display:flex;flex-direction:column}.main-content{flex:1}.hero-section{background:linear-gradient(#00000080,#00000080),url(https://images.unsplash.com/photo-1516026672322-bc52d61a55d5?w=1920);background-size:cover;background-position:center;background-attachment:fixed;color:#fff;padding:100px 20px;text-align:center}.hero-section h1{font-family:Playfair Display,serif;font-size:3.5rem;margin-bottom:20px;text-shadow:2px 2px 4px rgba(0,0,0,.5)}.hero-description{font-size:1.5rem;margin-bottom:15px;font-weight:600}.hero-section p{font-size:1.2rem;max-width:800px;margin:0 auto 30px;line-height:1.8}.hero-actions{margin-top:40px}.hero-actions .btn-primary{display:inline-block;padding:15px 40px;background:linear-gradient(135deg,var(--primary-color),var(--secondary-color));color:#fff;text-decoration:none;border-radius:50px;font-size:1.1rem;font-weight:600;transition:transform .3s,box-shadow .3s;box-shadow:0 5px 20px #0000004d}.hero-actions .btn-primary:hover{transform:translateY(-3px);box-shadow:0 8px 30px #0006}.services-section,.repografia-section,.multimedia-section,.gallery-section{padding:80px 20px;background-color:#fff}.services-section:nth-child(2n),.repografia-section:nth-child(2n),.multimedia-section:nth-child(2n){background-color:var(--bg-light)}.services-section h2,.repografia-section h2,.multimedia-section h2,.gallery-section h2{color:var(--primary-color);font-family:Playfair Display,serif;font-size:2.5rem;text-align:center;margin-bottom:50px}.services-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:40px;margin-top:40px}.service-card{background:#fff;padding:40px 30px;border-radius:15px;text-align:center;box-shadow:0 5px 20px #0000001a;transition:transform .3s,box-shadow .3s}.service-card:hover{transform:translateY(-10px);box-shadow:0 10px 30px #00000026}.service-icon{font-size:4rem;margin-bottom:20px}.service-card h3{color:var(--primary-color);font-size:1.5rem;margin-bottom:15px}.service-card p{color:#666;line-height:1.6}.repografia-content{max-width:900px;margin:0 auto}.repografia-item{background:#fff;padding:30px;border-radius:10px;margin-bottom:30px;box-shadow:0 3px 15px #0000001a}.repografia-item h3{color:var(--secondary-color);font-size:1.8rem;margin-bottom:15px}.repografia-item p{color:#666;font-size:1.1rem;line-height:1.7}.multimedia-section,.gallery-section{text-align:center}.multimedia-section p,.gallery-section p{font-size:1.2rem;color:#666;max-width:700px;margin:0 auto}.loading-screen{display:flex;align-items:center;justify-content:center;min-height:100vh;font-size:1.5rem;color:var(--primary-color)}@media (max-width: 768px){.hero-section h1{font-size:2.5rem}.hero-description{font-size:1.2rem}.hero-section p{font-size:1rem}.services-section h2,.repografia-section h2,.multimedia-section h2,.gallery-section h2{font-size:2rem}.services-grid{grid-template-columns:1fr}}*{margin:0;padding:0;box-sizing:border-box}:root{--primary-color: #2d6a4f;--secondary-color: #40916c;--accent-color: #52b788;--text-dark: #1b4332;--text-light: #d8f3dc;--bg-light: #f1faee;--bg-dark: #1b4332}body{font-family:Nunito,sans-serif;line-height:1.6;color:var(--text-dark);background-color:var(--bg-light)}.container{max-width:1200px;margin:0 auto;padding:0 20px}.header{background-color:var(--primary-color);color:#fff;padding:20px 0;box-shadow:0 2px 5px #0000001a}.header .container{display:flex;justify-content:space-between;align-items:center}.logo h1{font-family:Playfair Display,serif;font-size:2rem}.slogan{font-style:italic;font-size:.9rem;opacity:.9}.nav ul{display:flex;list-style:none;gap:30px}.nav a{color:#fff;text-decoration:none;transition:opacity .3s}.nav a:hover{opacity:.8}.btn-admin{background-color:var(--accent-color);padding:8px 20px;border-radius:5px}.hero{background:linear-gradient(#00000080,#00000080),url(https://images.unsplash.com/photo-1516026672322-bc52d61a55d5);background-size:cover;background-position:center;color:#fff;padding:100px 20px;text-align:center}.hero h2{font-family:Playfair Display,serif;font-size:2.5rem;max-width:800px;margin:0 auto}.welcome{padding:60px 20px;background-color:#fff}.welcome h2{color:var(--primary-color);margin-bottom:30px;font-size:2rem}.welcome-text p{margin-bottom:20px;font-size:1.1rem}.search-section{background-color:var(--secondary-color);padding:30px 20px}.search-filters{display:flex;gap:15px;max-width:800px;margin:0 auto}.search-filters input,.search-filters select{flex:1;padding:12px;border:none;border-radius:5px;font-size:1rem}.search-filters button{padding:12px 30px;background-color:var(--primary-color);color:#fff;border:none;border-radius:5px;cursor:pointer;transition:background-color .3s}.search-filters button:hover{background-color:var(--text-dark)}.books-grid{padding:60px 20px}.books-grid h2{color:var(--primary-color);margin-bottom:40px;text-align:center;font-size:2rem}.books-container{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:30px}.book-card{background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 3px 10px #0000001a;transition:transform .3s,box-shadow .3s}.book-card:hover{transform:translateY(-5px);box-shadow:0 5px 20px #00000026}.book-cover{width:100%;height:300px;object-fit:cover;background-color:var(--accent-color)}.book-info{padding:20px}.book-category{display:inline-block;background-color:var(--accent-color);color:#fff;padding:5px 10px;border-radius:3px;font-size:.8rem;margin-bottom:10px}.book-title{font-size:1.3rem;color:var(--primary-color);margin-bottom:5px}.book-author{color:#666;font-size:.9rem;margin-bottom:10px}.book-description{color:#555;font-size:.95rem;line-height:1.5}.book-actions{display:flex;gap:10px;margin-top:15px}.btn-download,.btn-view{flex:1;padding:10px;border:none;border-radius:5px;cursor:pointer;transition:background-color .3s;text-align:center;text-decoration:none}.btn-download{background-color:var(--primary-color);color:#fff}.btn-view{background-color:var(--secondary-color);color:#fff}.btn-download:hover,.btn-view:hover{opacity:.9}.loading,.no-results{text-align:center;padding:40px;font-size:1.2rem;color:#666}.footer{background-color:var(--primary-color);color:#fff;text-align:center;padding:30px 20px;margin-top:60px}.login-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--primary-color),var(--secondary-color))}.login-box{background:#fff;padding:40px;border-radius:10px;box-shadow:0 10px 30px #0003;width:100%;max-width:400px}.login-box h2{color:var(--primary-color);margin-bottom:10px}.login-subtitle{color:#666;margin-bottom:30px}.form-group{margin-bottom:20px}.form-group label{display:block;margin-bottom:5px;color:var(--text-dark);font-weight:600}.form-group input,.form-group textarea,.form-group select{width:100%;padding:12px;border:1px solid #ddd;border-radius:5px;font-size:1rem;font-family:inherit}.btn-primary{width:100%;padding:12px;background-color:var(--primary-color);color:#fff;border:none;border-radius:5px;font-size:1.1rem;cursor:pointer;transition:background-color .3s}.btn-primary:hover{background-color:var(--text-dark)}.error-msg,.success-msg{margin-top:15px;padding:10px;border-radius:5px;text-align:center}.error-msg{background-color:#f8d7da;color:#721c24}.success-msg{background-color:#d4edda;color:#155724}.back-link{display:inline-block;margin-top:20px;color:var(--primary-color);text-decoration:none}.admin-container{display:flex;min-height:100vh}.sidebar{width:250px;background-color:var(--primary-color);color:#fff;padding:20px}.sidebar-header h2{margin-bottom:5px}.sidebar-header p{font-size:.9rem;opacity:.8}.sidebar-nav{margin-top:30px}.sidebar-nav ul{list-style:none}.sidebar-nav li{margin-bottom:10px}.sidebar-nav a{color:#fff;text-decoration:none;display:block;padding:12px;border-radius:5px;transition:background-color .3s}.sidebar-nav a:hover,.sidebar-nav a.active{background-color:var(--secondary-color)}.main-content{flex:1;padding:40px;background-color:var(--bg-light)}.content-section{display:none}.content-section.active{display:block}.admin-books-list{background:#fff;border-radius:10px;padding:20px;margin-top:20px}.admin-book-item{display:flex;justify-content:space-between;align-items:center;padding:15px;border-bottom:1px solid #eee}.admin-book-item:last-child{border-bottom:none}.admin-book-actions button{margin-left:10px;padding:8px 15px;border:none;border-radius:5px;cursor:pointer}.btn-edit{background-color:var(--secondary-color);color:#fff}.btn-delete{background-color:#dc3545;color:#fff}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:20px}.upload-progress{margin-top:15px;background-color:#e9ecef;border-radius:5px;overflow:hidden}.progress-bar{height:30px;background-color:var(--accent-color);width:0%;transition:width .3s}@media (max-width: 768px){.header .container{flex-direction:column;text-align:center}.nav ul{margin-top:20px}.search-filters,.admin-container{flex-direction:column}.sidebar{width:100%}.form-row{grid-template-columns:1fr}}.section-description{color:#666;margin-bottom:25px;font-size:1rem}.agenda-info-box{background-color:#f0f9ff;padding:15px 20px;border-radius:8px;margin-bottom:25px;border-left:4px solid #2d6a4f}.agenda-info-box p{margin:0;color:#333}.agenda-tabs{display:flex;gap:10px;margin-bottom:25px;border-bottom:2px solid #ddd;padding-bottom:0}.tab-btn{padding:12px 24px;background-color:transparent;border:none;border-bottom:3px solid transparent;cursor:pointer;font-size:1rem;font-weight:600;color:#666;transition:all .3s ease}.tab-btn:hover{color:#2d6a4f;background-color:#f9f9f9}.tab-btn.active{color:#2d6a4f;border-bottom-color:#2d6a4f;background-color:transparent}.tab-content{display:none;padding:30px 0}.tab-content.active{display:block}.tab-content h3{color:#2d6a4f;font-size:1.4rem;margin-bottom:20px}.tab-content h4{color:#2d6a4f;font-size:1.2rem;margin-bottom:15px;margin-top:30px}.nueva-actividad-form{background-color:#f9f9f9;padding:25px;border-radius:8px;margin-bottom:30px}.actividades-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:20px;margin-top:20px}.actividad-card{background-color:#fff;border:2px solid #ddd;border-radius:8px;padding:20px;transition:box-shadow .3s ease}.actividad-card:hover{box-shadow:0 4px 12px #00000026}.actividad-header{display:flex;justify-content:space-between;align-items:center;padding-bottom:12px;margin-bottom:12px;border-bottom:2px solid #2d6a4f}.actividad-header strong{color:#2d6a4f;font-size:1.1rem}.btn-delete-small{background-color:#dc3545;color:#fff;border:none;padding:6px 12px;border-radius:5px;cursor:pointer;font-size:1rem;transition:background-color .3s ease}.btn-delete-small:hover{background-color:#c82333}.actividad-body p{margin:8px 0;line-height:1.6;color:#333}.actividad-orden{color:#999;font-size:.9rem;font-style:italic;margin-top:12px!important;padding-top:12px;border-top:1px solid #eee}@media (max-width: 768px){.agenda-tabs{flex-wrap:wrap}.tab-btn{font-size:.9rem;padding:10px 16px}.actividades-cards{grid-template-columns:1fr}.nueva-actividad-form{padding:20px 15px}}
