@charset "utf-8";
/* CSS Document */
/* =====================================
   DIMENSIUNI DE TESTARE (Mobile First)
   =====================================

   320px  - Telefoane mici (iPhone SE)
   360px x 640px  - Android standard
   375px x 667px  - iPhone 12/13 Mini
   414px x 896px  - iPhone Pro Max
   480px - 600px - Telefoane mari / mici tablete
   <768px - Limită maximă pentru mobile
   768px  - Tablete (ex: iPad vertical)
   1024px - Desktop mic (iPad orizontal)
   1280px+ - Desktop normal / mare
*/

/* Ex. media queries:
@media (min-width: 768px) { ... }  -> tabletă
@media (min-width: 1024px) { ... } -> desktop mic
@media (min-width: 1280px) { ... } -> desktop mare


/* ========== FONTURI ========== */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/open-sans-v34-latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/open-sans-v34-latin-700.woff2') format('woff2');
}

/* festive-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Festive';
  font-style: normal;
  font-weight: 400;
  src: url('/webdesign-simplu/fonts/festive-v10-latin-regular.woff2') format('woff2');
 /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}



/* Reset simplu */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

/*---Inceput-HEADER---*/
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #222;
    color: white;
    padding: 10px 15px;
}

header .logo img {
  width: 200px;
  height: 100px;
  object-fit: cover;
  animation: despreImage 4s ease-in-out infinite;
	 padding: 8px;
  border: 1px dotted #ffa366;
}

/* Meniu mobil ascuns */
#nav{
	position: relative;
}
nav ul {
  list-style: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
  opacity: 0;
	 display: flex;
  flex-direction: column;
  background: #333;
  position: absolute;
  top: 120px;
  right: 0;
  width: 100%;
  border-radius: 0;
}

nav ul.active {
  max-height: 500px; /* suficient să cuprindă tot meniul */
  opacity: 1;
}


nav ul.active {
    display: flex;
    max-height: 500px; /* suficient de mare să încapă toate item-urile */
}

nav ul li {
    border-bottom: 1px solid #444;
}

nav ul li a {
    color: white;
    text-decoration: none;
    display: block;
	   text-align: center;
    padding: 10px;
}

#hamburger {
    font-size: 1.5rem;
    cursor: pointer;
	   position: absolute;
    top: 10px;
    right: 20px;
}
#close-menu {
  position: absolute;
  top: 10px;
  right: 20px;
  color: white;
  display: none; /* ascuns implicit */
  user-select: none;
}

/*---Sfarsit-HEADER---*/




/*---Inceput-HERO SECTION--- */
.hero {
    height: 90vh;
    background: url('../images/banner.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 15px;
}

.hero-content {
    background-color: rgba(0, 0, 0, 0.5); /* fundal semi-transparent */
    padding: 20px;
    border-radius: 8px;
}

.hero h1 {
    font-size: 1.8rem;
	   font-family: 'Festive', cursive, sans-serif;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1rem;
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #ff6600;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}
/*---Sfarsit-HERO SECTION--- */




/* ---Inceput-SECȚIUNEA DETALII--- */
.detalii {
    padding: 40px 15px;
    text-align: center;
    background-color: #f9f9f9;
}

.detalii h2 {
    font-size: 1.6rem;
	   font-family: 'Festive', cursive, sans-serif;
    margin-bottom: 20px;
}

.card-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.card img {
    width: 100%;
    height: auto;
    display: block;
}

.card h3 {
    font-size: 1.2rem;
	   font-family: 'Festive', cursive, sans-serif;
    margin: 15px 0 10px;
}

.card p {
    font-size: 0.95rem;
    padding: 0 10px 20px;
    color: #555;
}
/* ---Sfarsit-SECȚIUNEA DETALII--- */





/*---Inceput SECȚIUNEA PROGRAM--- */
.program {
    padding: 40px 15px;
    background-color: #fff;
    text-align: center;
}

.program h2 {
    font-size: 1.6rem;
	   font-family: 'Festive', cursive, sans-serif;
    margin-bottom: 20px;
}

.program-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.program-item {
    background: #f0f0f0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.program-item h3 {
    margin-bottom: 10px;
	   font-family: 'Festive', cursive, sans-serif;
    font-size: 1.2rem;
}

.program-item p {
    font-size: 0.95rem;
    color: #555;
}

/* Stil inițial ascuns */
.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Când apare */
.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/*---Sfarsit SECȚIUNEA PROGRAM--- */




/* ---Inceput-SECȚIUNEA CONTACT--- */
.contact {
    background: linear-gradient(to bottom, #ffffff, #f9f9f9);
    padding: 60px 20px;
    text-align: center;
}

.contact h2 {
    font-size: 2rem;
    margin-bottom: 30px;
	   font-family: 'Festive', cursive, sans-serif;
	   color: #333;
}

#contact-form {
    display: flex;
    flex-direction: column;
	   width: 100%; 
    max-width: 450px;
    margin: 0 auto;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

#contact-form label {
    text-align: left;
    font-weight: bold;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 18px;
	   border: none;
    border-bottom: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    background-color: #fefefe;
    transition: all 0.3s ease;
}
#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: #ff6600;
    background-color: #fffaf5;
    box-shadow: 0 0 5px rgba(255, 102, 0, 0.4);
}

#contact-form textarea{
	min-height: 100px;
	resize: none;
}

#contact-form button {
    width: 100%;
    background: #ff6600;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.1s ease;
}

#contact-form button:hover {
    background: #e65500;
}

#contact-form button:active {
    transform: scale(0.97);
}

#form-message {
    margin-top: 15px;
    font-size: 0.95rem;
    font-weight: bold;
}

/* ---Sfarsit-SECȚIUNEA CONTACT--- */



/* ---Inceput-sectiune-footer--- */
footer {
  background-color: #222;
  color: #ccc;
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
}

.footer-container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 8px;
}

.footer-nav a:hover {
  text-decoration: underline;
}
/* ---Sfarsit-sectiune-footer--- */



















/* CARDURI – versiune desktop */
@media (min-width: 768px) {
	
    .card-container {
        flex-direction: row;
        justify-content: center;
    }

    .card {
        flex: 1;
        max-width: 300px;
    }
	
	.program-list {
        flex-direction: row;
        justify-content: center;
    }

    .program-item {
        flex: 1;
        max-width: 300px;
    }
	
	
	#contact-form {
    width: 600px; /* mai lat pe desktop */
    max-width: none;
}

	
	
}













@media (min-width: 1024px){
	/* Stiluri implicite pentru desktop */
nav ul {
  display: flex !important; /* afișare orizontală */
  flex-direction: row;
  position: static; /* să nu mai fie absolut poziționat */
  width: auto;
  background: transparent;
  border-radius: 0;
  max-height: none;
  opacity: 1;
  overflow: visible;
  transition: none;
}

nav ul li {
  border: none; /* fără border jos */
  margin-right: 20px; /* spațiu între elemente */
}

nav ul li a {
  color: #fff; /* culoare text pentru desktop */
  padding: 10px 15px;
}

/* Ascundem hamburger-ul pe desktop */
#hamburger, #close-menu {
  display: none;
}

	

	#contact-form {
    width: 800px; /* mai lat pe desktop */
    max-width: none;
}
	
	
	
	
	
}

















/* ========== ANIMAȚII ========== */
@keyframes despreImage {
  0%, 100% {
    transform: scale(.9);
    border-radius: 4% 95% 6% 95% / 95% 4% 92% 5%;
  }
  50% {
    transform: scale(0.8);
    border-radius: 95% 4% 97% 5% / 4% 94% 3% 95%;
  }
}













